aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorDavid Sainty <dsainty@redhat.com>2001-08-29 20:36:13 +0000
committerDavid Sainty <dsainty@redhat.com>2001-08-29 20:36:13 +0000
commit869c27c18674cdd53a5d93e12b52540f8cb7618c (patch)
treeebd1b7b8be896541a58e9f264b821db041f18543 /sysconfig/network-scripts/ifdown
parent21e11b98d33b09eaef6d1ca91a1cc5a85991d5ea (diff)
downloadinitscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.tar
initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.tar.gz
initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.tar.bz2
initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.tar.xz
initscripts-869c27c18674cdd53a5d93e12b52540f8cb7618c.zip
Fixed dhcpcd ifdown line
Diffstat (limited to 'sysconfig/network-scripts/ifdown')
-rwxr-xr-xsysconfig/network-scripts/ifdown2
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`" ] && {