aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-08-25 00:33:41 +0000
committerBill Nottingham <notting@redhat.com>2006-08-25 00:33:41 +0000
commitd2735b356b4bab956e69817c08984dab14f9095a (patch)
tree6f464b8f300a0dd2c79a3533586c9034c0dbbc35 /rc.d/init.d
parente5493d2fc6939403649536d6b56152d2d324bca8 (diff)
downloadinitscripts-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')
-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"