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:30:34 -0400 |
commit | 09b0c7b94f8ddd0a4673ba3571dbbdd7e205a375 (patch) | |
tree | c196b27c4e024dd4e06077f6a9fa355195778978 /sysconfig | |
parent | a671e3ad42373823c06c0dd1c16e2ebff236caee (diff) | |
download | initscripts-09b0c7b94f8ddd0a4673ba3571dbbdd7e205a375.tar initscripts-09b0c7b94f8ddd0a4673ba3571dbbdd7e205a375.tar.gz initscripts-09b0c7b94f8ddd0a4673ba3571dbbdd7e205a375.tar.bz2 initscripts-09b0c7b94f8ddd0a4673ba3571dbbdd7e205a375.tar.xz initscripts-09b0c7b94f8ddd0a4673ba3571dbbdd7e205a375.zip |
Fix pid file usage for IPv6. (#729292, <daveg@dgit.ndo.co.uk>)
Diffstat (limited to 'sysconfig')
-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 |