aboutsummaryrefslogtreecommitdiffstats
path: root/package/netifd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-26 20:36:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-26 20:36:49 +0000
commitd7522444d25d5211a96073983b25f6a6e8992c3b (patch)
treec6573fc046b4800455d15605c52ba847ea1a83c7 /package/netifd
parent11397a5f75c7c3b6ab93aa4ddd0a83f9b88bf8cf (diff)
downloadupstream-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-xpackage/netifd/files/lib/netifd/proto/dhcp.sh3
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