Commit 7c51549f authored by Adam Wujek's avatar Adam Wujek 💬

rootfs: update enable_switching.sh doe to interfaces' names change

This change is not critical, even with "wr" it recognizes interfaces
correctly.
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent 588a361f
......@@ -4,7 +4,7 @@ start() {
echo -n "Enable switching: "
# bring up all interfaces
for i in `ls /sys/class/net | grep wr`
for i in `ls /sys/class/net | grep wri`
do
ifconfig $i up
done
......@@ -16,7 +16,7 @@ stop() {
echo -n "Disable switching: "
# bring down all interfaces
for i in `ls /sys/class/net | grep wr`
for i in `ls /sys/class/net | grep wri`
do
ifconfig $i down
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment