aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrc.d/init.d/network2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 19fa0264..0a8be616 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -277,7 +277,7 @@ case "$1" in
echo lo $interfaces
echo $"Currently active devices:"
- echo `/sbin/ip -o link show | awk -F ": " '/UP>/ { print $2 }'`
+ echo $(/sbin/ip -o link show up | awk -F ": " '{ print $2 }')
;;
restart|reload)
cd "$CWD"