diff options
-rwxr-xr-x | netcfg | 2 | ||||
-rwxr-xr-x | network | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -52,7 +52,7 @@ stop_profile() [ "$USEWPA" = "yes" -o "$USEWPA" = "YES" ] && wpa_cli terminate >/dev/null 2>&1 # bring down dhcpcd if we're using it - [ "$IFOPTS" = "dhcp" -o "$IFOPTS" = "DHCP" ] && dhcpcd -k + [ "$IFOPTS" = "dhcp" -o "$IFOPTS" = "DHCP" ] && dhcpcd -k $INTERFACE # bring down the interface itself ifconfig $INTERFACE down @@ -58,7 +58,7 @@ ifdown() eval ifcfg="\$${1}" if [ "$ifcfg" = "dhcp" ]; then if [ -f /etc/dhcpc/dhcpcd-${1}.pid ]; then - /sbin/dhcpcd -k + /sbin/dhcpcd -k ${1} else # No .pid file, just bring the interface itself down /sbin/ifconfig ${1} down |