mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
procd: options with default values are not parsed properly in the ubus register code
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38788 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a79f9a758e
commit
e41c835cee
@ -229,7 +229,8 @@ uci_validate_section()
|
||||
shift; shift; shift
|
||||
|
||||
while [ -n "$1" ]; do
|
||||
json_add_string "${1%:*}" "${1#*:}"
|
||||
local tmp=${1#*:}
|
||||
json_add_string "${1%%:*}" "${tmp%%:*}"
|
||||
shift
|
||||
done
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user