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 1b170e2e..5ea63b7d 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -67,7 +67,7 @@ case "$1" in
;;
esac
- oldhotplug=`sysctl kernel.hotplug | awk '{ print $3 }' 2>/dev/null`
+ oldhotplug=`sysctl kernel.hotplug 2>/dev/null| awk '{ print $3 }' 2>/dev/null`
sysctl -w kernel.hotplug="/bin/true" > /dev/null 2>&1
for i in $interfaces; do