X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=package%2Fbase-files%2Ffiles%2Fbin%2Fconfig_generate;h=f9b4e5ca9ef790c07a3b715f676ec4705f7168f1;hp=13ddb07e920c0822894cec64085a561ef67f8f7c;hb=b0ac825884e7bfe3f68385109df3234e37022c71;hpb=7c47f43fe650309e6a2383c99273dc1bde367bc1 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 ..