aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-04-15 19:42:06 +0000
committerBill Nottingham <notting@redhat.com>2005-04-15 19:42:06 +0000
commit1cfa0397df273e65aca2066f828c0dfee502bd61 (patch)
tree988501ad69d6a962e1f256f21a08ce5ac90097ed
parent466959510334b0977d24da11de639cf2c2714b7d (diff)
downloadinitscripts-1cfa0397df273e65aca2066f828c0dfee502bd61.tar
initscripts-1cfa0397df273e65aca2066f828c0dfee502bd61.tar.gz
initscripts-1cfa0397df273e65aca2066f828c0dfee502bd61.tar.bz2
initscripts-1cfa0397df273e65aca2066f828c0dfee502bd61.tar.xz
initscripts-1cfa0397df273e65aca2066f828c0dfee502bd61.zip
silence sysctl some more
-rwxr-xr-xrc.d/init.d/network4
-rwxr-xr-xrc.d/rc.sysinit2
2 files changed, 3 insertions, 3 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index 4a599e10..f63f3bd6 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -59,7 +59,7 @@ case "$1" in
fi
fi
- sysctl -e -p /etc/sysctl.conf >/dev/null
+ sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
# bring up loopback interface
action $"Bringing up loopback interface: " ./ifup ifcfg-lo
@@ -174,7 +174,7 @@ case "$1" in
fi
fi
# Run this again to catch any interface-specific actions
- sysctl -e -p /etc/sysctl.conf >/dev/null
+ sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
touch /var/lock/subsys/network
;;
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 94d1ccea..aad61c6d 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -227,7 +227,7 @@ fi
# Configure kernel parameters
update_boot_stage RCkernelparam
-sysctl -e -p /etc/sysctl.conf >/dev/null
+sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
# Set the system clock.
update_boot_stage RCclock