From: Felix Fietkau Date: Sat, 26 May 2012 20:36:49 +0000 (+0000) Subject: netifd: fix "Command failed: Not found" error with dhcp X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d7522444d25d5211a96073983b25f6a6e8992c3b;p=openwrt%2Fstaging%2Fkaloz.git netifd: fix "Command failed: Not found" error with dhcp SVN-Revision: 31863 --- diff --git a/package/netifd/files/lib/netifd/proto/dhcp.sh b/package/netifd/files/lib/netifd/proto/dhcp.sh index eab14627f6..4bdb3a7d06 100755 --- a/package/netifd/files/lib/netifd/proto/dhcp.sh +++ b/package/netifd/files/lib/netifd/proto/dhcp.sh @@ -40,7 +40,8 @@ proto_dhcp_setup() { } proto_dhcp_teardown() { - proto_kill_command + local interface="$1" + proto_kill_command "$interface" } add_protocol dhcp