projects
/
openwrt
/
staging
/
svanheule.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8fa94d
)
netifd: use the new json_get_vars function in the dhcp helper script
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 14 May 2012 20:58:27 +0000
(20:58 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 14 May 2012 20:58:27 +0000
(20:58 +0000)
SVN-Revision: 31727
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 5219029ff3961485b10506ca012f608f30df06a6..eab14627f61b7b0d2536bb760c5a02a5952a3128 100755
(executable)
--- a/
package/netifd/files/lib/netifd/proto/dhcp.sh
+++ b/
package/netifd/files/lib/netifd/proto/dhcp.sh
@@
-18,12
+18,7
@@
proto_dhcp_setup() {
local config="$1"
local iface="$2"
- json_get_var ipaddr ipaddr
- json_get_var hostname hostname
- json_get_var clientid clientid
- json_get_var vendorid vendorid
- json_get_var broadcast broadcast
- json_get_var reqopts reqopts
+ json_get_vars ipaddr hostname clientid vendorid broadcast reqopts
local opt dhcpopts
for opt in $reqopts; do