aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-01-07 17:26:44 +0000
committerBill Nottingham <notting@redhat.com>2005-01-07 17:26:44 +0000
commit5146b278cf9827ccb07c583ba8d5e39c1d3d07f9 (patch)
tree3249d6b666e4613bd13111712d1ccf9490088045
parent30421bdbef96c41303c2467086cdef48e2399abd (diff)
downloadinitscripts-5146b278cf9827ccb07c583ba8d5e39c1d3d07f9.tar
initscripts-5146b278cf9827ccb07c583ba8d5e39c1d3d07f9.tar.gz
initscripts-5146b278cf9827ccb07c583ba8d5e39c1d3d07f9.tar.bz2
initscripts-5146b278cf9827ccb07c583ba8d5e39c1d3d07f9.tar.xz
initscripts-5146b278cf9827ccb07c583ba8d5e39c1d3d07f9.zip
shut up sysctl (#144483)
-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 8106ccde..4a69dfd8 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -59,7 +59,7 @@ case "$1" in
fi
fi
- action $"Setting network parameters: " sysctl -e -p /etc/sysctl.conf
+ sysctl -e -p /etc/sysctl.conf >/dev/null
# bring up loopback interface
action $"Bringing up loopback interface: " ./ifup ifcfg-lo
@@ -173,7 +173,7 @@ case "$1" in
fi
fi
# Run this again to catch any interface-specific actions
- sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
+ sysctl -e -p /etc/sysctl.conf >/dev/null
touch /var/lock/subsys/network
;;
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit
index 8df869dc..48284c1b 100755
--- a/rc.d/rc.sysinit
+++ b/rc.d/rc.sysinit
@@ -223,7 +223,7 @@ fi
# Configure kernel parameters
update_boot_stage RCkernelparam
-action $"Configuring kernel parameters: " sysctl -e -p /etc/sysctl.conf
+sysctl -e -p /etc/sysctl.conf >/dev/null
# Set the system clock.
update_boot_stage RCclock