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 | 1c0a92e465eb324505cb4f4b0b45f608f6dd4746 (patch) | |
tree | 575e93be7eb7171ea5457b1ff7ad7abcd913231f /package/netifd | |
parent | 59d9fc66ff01febf40f3b32cf9df89edb03ea3c3 (diff) | |
download | master-187ad058-1c0a92e465eb324505cb4f4b0b45f608f6dd4746.tar.gz master-187ad058-1c0a92e465eb324505cb4f4b0b45f608f6dd4746.tar.bz2 master-187ad058-1c0a92e465eb324505cb4f4b0b45f608f6dd4746.zip |
netifd: fix "Command failed: Not found" error with dhcp
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 |