aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifdown
diff options
context:
space:
mode:
authorDavid Sainty <dsainty@redhat.com>2001-08-29 19:22:59 +0000
committerDavid Sainty <dsainty@redhat.com>2001-08-29 19:22:59 +0000
commit8baa4a3d7029af07dab2445ec0f5e785d9014532 (patch)
treec9f822f2392d2f1098841b0704fade7541ba7d05 /sysconfig/network-scripts/ifdown
parent633f47836273c3895f52659e7d3eefa38eb8fcda (diff)
downloadinitscripts-8baa4a3d7029af07dab2445ec0f5e785d9014532.tar
initscripts-8baa4a3d7029af07dab2445ec0f5e785d9014532.tar.gz
initscripts-8baa4a3d7029af07dab2445ec0f5e785d9014532.tar.bz2
initscripts-8baa4a3d7029af07dab2445ec0f5e785d9014532.tar.xz
initscripts-8baa4a3d7029af07dab2445ec0f5e785d9014532.zip
- Fix ifdown for multiple interfaces which use dhcpcd
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 1b439549..555aee4f 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`" ] && {
- killall dhcpcd
+ /sbin/dhcpcd -k ${DEVICE}
retcode=$?
}
[ -n "`pidof -x pump`" ] && {