diff options
author | Andrea Scarpino <bash.lnx@gmail.com> | 2011-03-15 11:51:39 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2011-03-16 01:11:36 +0100 |
commit | 4f9282efa03872c3e298156a21d524734e8f5ab1 (patch) | |
tree | 8fc2d27f3da510a39e383f1c77ff0c0f4dbfbf6d /network | |
parent | 8b2bfa7bd0073a3a9d389242faf16483c9ec5336 (diff) |
Use dhcpcd -k instead of kill
Diffstat (limited to 'network')
-rwxr-xr-x | network | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ ifdown() fi eval ifcfg="\$${1}" if [[ $ifcfg = dhcp && -f /var/run/dhcpcd-${1}.pid ]]; then - /bin/kill $(cat /var/run/dhcpcd-${1}.pid) + /sbin/dhcpcd -k ${1} >/dev/null 2>&1 fi # Always bring the interface itself down /sbin/ifconfig ${1} down >/dev/null 2>&1 |