fix sb-internet
This commit is contained in:
parent
c129e2d142
commit
8e2781309d
|
@ -15,7 +15,7 @@ fi
|
||||||
|
|
||||||
if ls /sys/class/net/e*/operstate 1>/dev/null 2>&1; then
|
if ls /sys/class/net/e*/operstate 1>/dev/null 2>&1; then
|
||||||
for e in /sys/class/net/e*/operstate; do
|
for e in /sys/class/net/e*/operstate; do
|
||||||
[ "$e" = "up" ] && printf "%b" "$shift"
|
[ "$(cat "$e")" = "up" ] && printf "%b" "$shift"
|
||||||
shift=" "
|
shift=" "
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue