aboutsummaryrefslogtreecommitdiffstats
path: root/rc.d/init.d/network
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-02-28 16:56:40 -0500
committerBill Nottingham <notting@redhat.com>2011-02-28 16:56:40 -0500
commit3f296db591da779000a301b2b29560ee6df413f3 (patch)
treebd05f5215506843145e7e8ad28e1c5ca14b5c450 /rc.d/init.d/network
parent13f2ec05b5af5f57b6847b04185c6e710dc769b2 (diff)
downloadinitscripts-3f296db591da779000a301b2b29560ee6df413f3.tar
initscripts-3f296db591da779000a301b2b29560ee6df413f3.tar.gz
initscripts-3f296db591da779000a301b2b29560ee6df413f3.tar.bz2
initscripts-3f296db591da779000a301b2b29560ee6df413f3.tar.xz
initscripts-3f296db591da779000a301b2b29560ee6df413f3.zip
Move sysctl.conf/sysctl.d handling to a function, call it where appropriate. (#593211, continued)
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-xrc.d/init.d/network4
1 files changed, 2 insertions, 2 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network
index b31060b0..738a3440 100755
--- a/rc.d/init.d/network
+++ b/rc.d/init.d/network
@@ -61,7 +61,7 @@ case "$1" in
/etc/sysconfig/network-scripts/init.ipv6-global start pre
fi
- sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
+ apply_sysctl
# bring up loopback interface
action $"Bringing up loopback interface: " ./ifup ifcfg-lo
@@ -164,7 +164,7 @@ case "$1" in
/etc/sysconfig/network-scripts/init.ipv6-global start post
fi
# Run this again to catch any interface-specific actions
- sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1
+ apply_sysctl
touch /var/lock/subsys/network