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 | |
parent | 11397a5f75c7c3b6ab93aa4ddd0a83f9b88bf8cf (diff) | |
download | mtk-20170518-d7522444d25d5211a96073983b25f6a6e8992c3b.zip mtk-20170518-d7522444d25d5211a96073983b25f6a6e8992c3b.tar.gz mtk-20170518-d7522444d25d5211a96073983b25f6a6e8992c3b.tar.bz2 |
netifd: fix "Command failed: Not found" error with dhcp
SVN-Revision: 31863
Diffstat (limited to 'package')
-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 eab1462..4bdb3a7 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 |