diff options
author | Roman Kyrylych <roman@archlinux.org> | 2008-03-09 17:22:11 +0200 |
---|---|---|
committer | Roman Kyrylych <roman@archlinux.org> | 2008-03-09 17:22:11 +0200 |
commit | 7526db5d0405188fee94d16fbcfbdf13a17e6a45 (patch) | |
tree | 27d1211260b3c7cf35a28aaeef61653e0a0f2f9d /network | |
parent | 2c9681f461a0cde98a88de65e232369df68ed859 (diff) |
More full-path fixes
Signed-off-by: Roman Kyrylych <roman@archlinux.org>
Diffstat (limited to 'network')
-rwxr-xr-x | network | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -20,8 +20,8 @@ ifup() fi # don't bring up an interface that's already up [ "$(/sbin/ifconfig ${1} 2>/dev/null |\ - grep -v 'inet6 addr: fe80:' |\ - grep -e 'inet addr:' -e 'inet6 addr:')" ] && return 0 + /bin/grep -v 'inet6 addr: fe80:' |\ + /bin/grep -e 'inet addr:' -e 'inet6 addr:')" ] && return 0 eval iwcfg="\$wlan_${1}" if [ "$iwcfg" != "" ]; then /usr/sbin/iwconfig $iwcfg @@ -30,8 +30,8 @@ ifup() eval ifcfg="\$${1}" if [ "$ifcfg" = "dhcp" ]; then # remove the .pid file if it exists - rm -f /var/run/dhcpcd-${1}.pid >/dev/null 2>&1 - rm -f /var/run/dhcpcd-${1}.cache >/dev/null 2>&1 + /bin/rm -f /var/run/dhcpcd-${1}.pid >/dev/null 2>&1 + /bin/rm -f /var/run/dhcpcd-${1}.cache >/dev/null 2>&1 /sbin/dhcpcd $DHCPCD_ARGS ${1} else /sbin/ifconfig $ifcfg @@ -48,7 +48,7 @@ ifdown() eval ifcfg="\$${1}" if [ "$ifcfg" = "dhcp" ]; then if [ -f /var/run/dhcpcd-${1}.pid ]; then - kill $(cat /var/run/dhcpcd-${1}.pid) + /bin/kill $(cat /var/run/dhcpcd-${1}.pid) fi fi # Always bring the interface itself down |