diff options
author | Bill Nottingham <notting@redhat.com> | 2007-01-17 19:41:50 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-01-17 19:41:50 +0000 |
commit | adcc4226f5be5723c56a953eb5e81b295f471686 (patch) | |
tree | 10ddd851fb57bd08a800673f1a3fa05068c5f716 /rc.d/init.d/network | |
parent | 52d87732faf849307b73817a3b93525d87cf8bb4 (diff) | |
download | initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.tar initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.tar.gz initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.tar.bz2 initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.tar.xz initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.zip |
remove NETWORKING_IPV6
Diffstat (limited to 'rc.d/init.d/network')
-rwxr-xr-x | rc.d/init.d/network | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/rc.d/init.d/network b/rc.d/init.d/network index c49928c2..06165fe7 100755 --- a/rc.d/init.d/network +++ b/rc.d/init.d/network @@ -54,10 +54,8 @@ interfaces=$(ls ifcfg* | \ case "$1" in start) # IPv6 hook (pre IPv4 start) - if [ "$NETWORKING_IPV6" = "yes" ]; then - if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then - /etc/sysconfig/network-scripts/init.ipv6-global start pre - fi + if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then + /etc/sysconfig/network-scripts/init.ipv6-global start pre fi sysctl -e -p /etc/sysctl.conf >/dev/null 2>&1 @@ -156,10 +154,8 @@ case "$1" in fi # IPv6 hook (post IPv4 start) - if [ "$NETWORKING_IPV6" = "yes" ]; then - if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then - /etc/sysconfig/network-scripts/init.ipv6-global start post - fi + if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then + /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 @@ -190,10 +186,8 @@ case "$1" in fi # IPv6 hook (pre IPv4 stop) - if [ "$NETWORKING_IPV6" = "yes" ]; then - if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then - /etc/sysconfig/network-scripts/init.ipv6-global stop pre - fi + if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then + /etc/sysconfig/network-scripts/init.ipv6-global stop pre fi vlaninterfaces="" @@ -264,10 +258,8 @@ case "$1" in fi # IPv6 hook (post IPv4 stop) - if [ "$NETWORKING_IPV6" = "yes" ]; then - if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then - /etc/sysconfig/network-scripts/init.ipv6-global stop post - fi + if [ -x /etc/sysconfig/network-scripts/init.ipv6-global ]; then + /etc/sysconfig/network-scripts/init.ipv6-global stop post fi rm -f /var/lock/subsys/network |