diff options
author | Judd Vinet <judd@archlinux.org> | 2005-12-05 18:59:11 +0000 |
---|---|---|
committer | Judd Vinet <judd@archlinux.org> | 2005-12-05 18:59:11 +0000 |
commit | cfaa5552fcbe964a172138e5e6c87e54abb6ce4c (patch) | |
tree | 88a7d320a589bfa36d451cf25fb07a6a358bba78 /network | |
parent | cec2d46513c7cd557f219fa2ede3c7a816a526dc (diff) |
dhcpcd fix in rc.d/network
Diffstat (limited to 'network')
-rwxr-xr-x | network | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,7 +42,7 @@ ifup() if [ "$ifcfg" = "dhcp" ]; then # remove the .pid file if it exists rm -f /etc/dhcpc/dhcpcd-${1}.{pid,cache} >/dev/null 2>&1 - /usr/sbin/dhcpcd $DHCPCD_ARGS ${1} + /sbin/dhcpcd $DHCPCD_ARGS ${1} else /sbin/ifconfig $ifcfg fi @@ -58,7 +58,7 @@ ifdown() eval ifcfg="\$${1}" if [ "$ifcfg" = "dhcp" ]; then if [ -f /etc/dhcpc/dhcpcd-${1}.pid ]; then - /bin/kill `cat /etc/dhcpc/dhcpcd-${1}.pid` + /sbin/dhcpcd -k else # No .pid file, just bring the interface itself down /sbin/ifconfig ${1} down |