aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2001-03-26 16:06:34 +0000
committerBill Nottingham <notting@redhat.com>2001-03-26 16:06:34 +0000
commit8b8bd3aee658a24d85d25e13b46f8bb9d912e100 (patch)
treea628f23a15d59d4009d53fef756b3f6eec59db69 /rc.d/init.d/network
parentc5f581bf6128132553b1be2066ae7a0b9eea0639 (diff)
downloadinitscripts-8b8bd3aee658a24d85d25e13b46f8bb9d912e100.tar
initscripts-8b8bd3aee658a24d85d25e13b46f8bb9d912e100.tar.gz
initscripts-8b8bd3aee658a24d85d25e13b46f8bb9d912e100.tar.bz2
initscripts-8b8bd3aee658a24d85d25e13b46f8bb9d912e100.tar.xz
initscripts-8b8bd3aee658a24d85d25e13b46f8bb9d912e100.zip
don't error if kernel.hotplug isn't there (#33256)
Diffstat (limited to 'rc.d/init.d/network')
-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