diff options
author | Bill Nottingham <notting@redhat.com> | 2001-03-26 16:06:34 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-03-26 16:06:34 +0000 |
commit | 8b8bd3aee658a24d85d25e13b46f8bb9d912e100 (patch) | |
tree | a628f23a15d59d4009d53fef756b3f6eec59db69 /rc.d | |
parent | c5f581bf6128132553b1be2066ae7a0b9eea0639 (diff) | |
download | initscripts-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')
-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 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 |