diff options
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 4 |
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`" ] && { |