aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2011-08-09 12:29:37 -0400
committerBill Nottingham <notting@redhat.com>2011-08-09 12:30:44 -0400
commit55e1e7637b7fc26dceac3d157914d526a79ba18d (patch)
tree3122b3f673281f550327a296b53e90926de318e8
parentf3a7be287263edb771d00e2cabbcda8884a5f34e (diff)
downloadinitscripts-55e1e7637b7fc26dceac3d157914d526a79ba18d.tar
initscripts-55e1e7637b7fc26dceac3d157914d526a79ba18d.tar.gz
initscripts-55e1e7637b7fc26dceac3d157914d526a79ba18d.tar.bz2
initscripts-55e1e7637b7fc26dceac3d157914d526a79ba18d.tar.xz
initscripts-55e1e7637b7fc26dceac3d157914d526a79ba18d.zip
Fix pid file usage for IPv6. (#729292, <daveg@dgit.ndo.co.uk>)F14-branch
-rwxr-xr-xsysconfig/network-scripts/ifdown-eth2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown-eth b/sysconfig/network-scripts/ifdown-eth
index 8bace135..fbed6831 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