projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59d9fc6
)
netifd: fix "Command failed: Not found" error with dhcp
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 26 May 2012 20:36:49 +0000
(20:36 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 26 May 2012 20:36:49 +0000
(20:36 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31863
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/netifd/files/lib/netifd/proto/dhcp.sh
patch
|
blob
|
history
diff --git
a/package/netifd/files/lib/netifd/proto/dhcp.sh
b/package/netifd/files/lib/netifd/proto/dhcp.sh
index
eab1462
..
4bdb3a7
100755
(executable)
--- 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