aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown-eth
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2007-01-17 19:41:50 +0000
committerBill Nottingham <notting@redhat.com>2007-01-17 19:41:50 +0000
commitadcc4226f5be5723c56a953eb5e81b295f471686 (patch)
tree10ddd851fb57bd08a800673f1a3fa05068c5f716 /sysconfig/network-scripts/ifdown-eth
parent52d87732faf849307b73817a3b93525d87cf8bb4 (diff)
downloadinitscripts-adcc4226f5be5723c56a953eb5e81b295f471686.tar
initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.tar.gz
initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.tar.bz2
initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.tar.xz
initscripts-adcc4226f5be5723c56a953eb5e81b295f471686.zip
remove NETWORKING_IPV6
Diffstat (limited to 'sysconfig/network-scripts/ifdown-eth')
-rwxr-xr-xsysconfig/network-scripts/ifdown-eth12
1 files changed, 5 insertions, 7 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth
index c0de20e5..c987d346 100755
--- a/sysconfig/network-scripts/ifdown-eth
+++ b/sysconfig/network-scripts/ifdown-eth
@@ -60,13 +60,11 @@ if is_bonding_device ${DEVICE} ; then
fi
-if [ "${NETWORKING_IPV6}" = "yes" ]; then
- /etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG}
- if [[ "${DHCPV6C}" = [Yy1]* ]] && [ -f /var/run/dhcp6c_${DEVICE}.pid ]; then
- kill `cat /var/run/dhcp6c_${DEVICE}.pid`;
- rm -f /var/run/dhcp6c_${DEVICE}.pid;
- fi;
-fi;
+/etc/sysconfig/network-scripts/ifdown-ipv6 ${CONFIG}
+if [[ "${DHCPV6C}" = [Yy1]* ]] && [ -f /var/run/dhcp6c_${DEVICE}.pid ]; then
+ kill `cat /var/run/dhcp6c_${DEVICE}.pid`;
+ rm -f /var/run/dhcp6c_${DEVICE}.pid;
+fi
retcode=0
[ -n "`pidof -x dhclient`" ] && {