aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpackage/base-files/files/bin/config_generate2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate
index 13ddb07e92..f9b4e5ca9e 100755
--- 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 ..