diff options
author | Bill Nottingham <notting@redhat.com> | 2006-08-25 00:33:41 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-08-25 00:33:41 +0000 |
commit | d2735b356b4bab956e69817c08984dab14f9095a (patch) | |
tree | 6f464b8f300a0dd2c79a3533586c9034c0dbbc35 /rc.d/init.d/network | |
parent | e5493d2fc6939403649536d6b56152d2d324bca8 (diff) | |
download | initscripts-d2735b356b4bab956e69817c08984dab14f9095a.tar initscripts-d2735b356b4bab956e69817c08984dab14f9095a.tar.gz initscripts-d2735b356b4bab956e69817c08984dab14f9095a.tar.bz2 initscripts-d2735b356b4bab956e69817c08984dab14f9095a.tar.xz initscripts-d2735b356b4bab956e69817c08984dab14f9095a.zip |
simpify (based on a prodding from <oblin@mandriva.com>)
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 2 |
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" |