diff options
author | Bill Nottingham <notting@redhat.com> | 2011-08-09 12:29:37 -0400 |
---|---|---|
committer | Petr Lautrbach <plautrba@redhat.com> | 2011-08-15 10:24:01 +0200 |
commit | 61bbb010cd8c3363a5f7071ca8012ce60f65e210 (patch) | |
tree | 7873a149bb70402d47eb2aad353c03ba0997be74 /sysconfig | |
parent | 9d92eb4582b8fe1959a2516ba9e95fcc2a3845ca (diff) | |
download | initscripts-61bbb010cd8c3363a5f7071ca8012ce60f65e210.tar initscripts-61bbb010cd8c3363a5f7071ca8012ce60f65e210.tar.gz initscripts-61bbb010cd8c3363a5f7071ca8012ce60f65e210.tar.bz2 initscripts-61bbb010cd8c3363a5f7071ca8012ce60f65e210.tar.xz initscripts-61bbb010cd8c3363a5f7071ca8012ce60f65e210.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 1e0a975a..20b8b00b 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 |