projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dnsmasq: change 'add_local_hostname' to use dnsmasq '--interface-name'
[oweals/openwrt.git]
/
package
/
base-files
/
files
/
bin
/
config_generate
diff --git
a/package/base-files/files/bin/config_generate
b/package/base-files/files/bin/config_generate
index 13ddb07e920c0822894cec64085a561ef67f8f7c..f9b4e5ca9ef790c07a3b715f676ec4705f7168f1 100755
(executable)
--- a/
package/base-files/files/bin/config_generate
+++ b/
package/base-files/files/bin/config_generate
@@
-401,7
+401,7
@@
generate_gpioswitch() {
set system.$cfg='gpio_switch'
set system.$cfg.name='$name'
set system.$cfg.gpio_pin='$pin'
- set system.$cfg.
default
='$default'
+ set system.$cfg.
value
='$default'
EOF
json_select ..
json_select ..