diff options
author | David Sainty <dsainty@redhat.com> | 2001-08-29 20:36:13 +0000 |
---|---|---|
committer | David Sainty <dsainty@redhat.com> | 2001-08-29 20:36:13 +0000 |
commit | 869c27c18674cdd53a5d93e12b52540f8cb7618c (patch) | |
tree | ebd1b7b8be896541a58e9f264b821db041f18543 | |
parent | 21e11b98d33b09eaef6d1ca91a1cc5a85991d5ea (diff) | |
download | initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.tar initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.tar.gz initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.tar.bz2 initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.tar.xz initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.zip |
Fixed dhcpcd ifdown line
-rwxr-xr-x | sysconfig/network-scripts/ifdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifdown b/sysconfig/network-scripts/ifdown index 555aee4f..f93d7958 100755 --- a/sysconfig/network-scripts/ifdown +++ b/sysconfig/network-scripts/ifdown @@ -73,7 +73,7 @@ fi retcode=0 if [ "$BOOTPROTO" = bootp -o "$BOOTPROTO" = dhcp ]; then [ -n "`pidof -x dhcpcd`" ] && { - /sbin/dhcpcd -k ${DEVICE} + kill `cat /var/run/dhcpcd-${DEVICE}.pid` retcode=$? } [ -n "`pidof -x pump`" ] && { |