diff options
author | Bill Nottingham <notting@redhat.com> | 2011-08-09 12:29:37 -0400 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2011-08-09 12:29:37 -0400 |
commit | 53da81415a777306647251c68f64d073ec763531 (patch) | |
tree | c79e4e6362c744d882ddb964745988d207889892 | |
parent | eededf0b562fdee05572c810b485d3c53a8b2555 (diff) | |
download | initscripts-53da81415a777306647251c68f64d073ec763531.tar initscripts-53da81415a777306647251c68f64d073ec763531.tar.gz initscripts-53da81415a777306647251c68f64d073ec763531.tar.bz2 initscripts-53da81415a777306647251c68f64d073ec763531.tar.xz initscripts-53da81415a777306647251c68f64d073ec763531.zip |
Fix pid file usage for IPv6. (#729292, <daveg@dgit.ndo.co.uk>)
-rwxr-xr-x | sysconfig/network-scripts/ifdown-eth | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth index 17386a71..d0936366 100755 --- a/sysconfig/network-scripts/ifdown-eth +++ b/sysconfig/network-scripts/ifdown-eth @@ -87,7 +87,7 @@ retcode=0 if [ -f "/var/run/dhclient$VER-${DEVICE}.pid" ]; then dhcpid=$(cat /var/run/dhclient$VER-${DEVICE}.pid) if [[ "$DHCPRELEASE" = [yY1]* ]]; then - /sbin/dhclient -r -lf /var/lib/dhclient/dhclient$VER-${DEVICE}.leases -pf /var/run/dhclient-${DEVICE}.pid ${DEVICE} >/dev/null 2>&1 + /sbin/dhclient -r -lf /var/lib/dhclient/dhclient$VER-${DEVICE}.leases -pf /var/run/dhclient$VER-${DEVICE}.pid ${DEVICE} >/dev/null 2>&1 retcode=$? else kill $dhcpid >/dev/null 2>&1 |