Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(159)

Side by Side Diff: client/tests/kvm/scripts/qemu-ifup

Issue 4823005: Merge remote branch 'cros/upstream' into tempbranch (Closed) Base URL: http://git.chromium.org/git/autotest.git@master
Patch Set: patch Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « client/tests/kvm/scripts/join_mcast.py ('k') | client/tests/kvm/scripts/qemu-ifup-ipv6 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 2
3 # The following expression selects the first bridge listed by 'brctl show'. 3 # The following expression selects the first bridge listed by 'brctl show'.
4 # Modify it to suit your needs. 4 # Modify it to suit your needs.
5 switch=$(/usr/sbin/brctl show | awk 'NR==2 { print $1 }') 5 switch=$(/usr/sbin/brctl show | awk 'NR==2 { print $1 }')
6 6
7 /bin/echo 1 > /proc/sys/net/ipv6/conf/${switch}/disable_ipv6
7 /sbin/ifconfig $1 0.0.0.0 up 8 /sbin/ifconfig $1 0.0.0.0 up
8 /usr/sbin/brctl addif ${switch} $1 9 /usr/sbin/brctl addif ${switch} $1
9 /usr/sbin/brctl setfd ${switch} 0 10 /usr/sbin/brctl setfd ${switch} 0
10 /usr/sbin/brctl stp ${switch} off 11 /usr/sbin/brctl stp ${switch} off
OLDNEW
« no previous file with comments | « client/tests/kvm/scripts/join_mcast.py ('k') | client/tests/kvm/scripts/qemu-ifup-ipv6 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698