diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-26 20:36:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-26 20:36:49 +0000 |
commit | d7522444d25d5211a96073983b25f6a6e8992c3b (patch) | |
tree | c6573fc046b4800455d15605c52ba847ea1a83c7 /package/netifd | |
parent | 11397a5f75c7c3b6ab93aa4ddd0a83f9b88bf8cf (diff) | |
download | upstream-d7522444d25d5211a96073983b25f6a6e8992c3b.tar.gz upstream-d7522444d25d5211a96073983b25f6a6e8992c3b.tar.bz2 upstream-d7522444d25d5211a96073983b25f6a6e8992c3b.zip |
netifd: fix "Command failed: Not found" error with dhcp
SVN-Revision: 31863
Diffstat (limited to 'package/netifd')
-rwxr-xr-x | package/netifd/files/lib/netifd/proto/dhcp.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |