aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2002-04-19 16:08:36 +0000
committerBill Nottingham <notting@redhat.com>2002-04-19 16:08:36 +0000
commitdcf6b34757ccef47ea87e46e226fd96c271c879c (patch)
tree85b8b5a7ecff39f682e5b5016e35c3530a6887b4 /sysconfig/network-scripts
parentf875143dde7a0ef969ac264b9797dc9876ba62f9 (diff)
downloadinitscripts-dcf6b34757ccef47ea87e46e226fd96c271c879c.tar
initscripts-dcf6b34757ccef47ea87e46e226fd96c271c879c.tar.gz
initscripts-dcf6b34757ccef47ea87e46e226fd96c271c879c.tar.bz2
initscripts-dcf6b34757ccef47ea87e46e226fd96c271c879c.tar.xz
initscripts-dcf6b34757ccef47ea87e46e226fd96c271c879c.zip
wrong fix (aside from the syntax issue) - the dhcpcd pid file moved,
just deal with the new location
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown
index 6aa00b61..bcbab1f0 100755
--- a/sysconfig/network-scripts/ifdown
+++ b/sysconfig/network-scripts/ifdown
@@ -69,8 +69,8 @@ fi
retcode=0
if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then
- [ -n "`pidof -x dhcpcd`" && -r "/var/run/dhcpcd-${DEVICE}.pid" ] && {
- kill `cat /var/run/dhcpcd-${DEVICE}.pid`
+ [ -n "`pidof -x dhcpcd`" ] && {
+ kill `cat /etc/dhcpc/dhcpcd-${DEVICE}.pid`
retcode=$?
}
[ -n "`pidof -x pump`" ] && {