vRouter fixup script updated

Now the init script bring up all pkt interfaces
after supervisor-vrouter startup.

Change-Id: I64506f0aa1ef24deff2787dc06ec27ff6ec0a70c
This commit is contained in:
Oleksandr Martsyniuk 2015-09-17 19:32:12 +03:00
parent 88e8c75aa6
commit 400e00eeda
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,9 @@
case "$1" in
start)
sleep 10
ifconfig pkt2 up || exit 0
for i in `ip link | egrep 'pkt[0-9]' | awk -F': ' '{print $2}'`; do
ip link set dev $i up
done
;;
stop)
exit 0