The only user was the hg255d board and config_generate did not even emit
proper uci for it.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 47658
json_select led
json_select "$key"
- json_get_vars name sysfs type trigger device interface default port_mask
+ json_get_vars name sysfs type trigger device default port_mask
uci -q batch <<-EOF
delete system.$cfg
json_select ..
}
-ucidef_set_led_interface() {
- local name="$1"
- local sysfs="$2"
-
- json_select_object led
-
- json_select_object "$1"
- json_add_string name "$name"
- json_add_string type interface
- json_add_string sysfs "$sysfs"
- json_add_string interface "$name"
- json_select ..
-
- json_select ..
-}
-
ucidef_set_led_usbdev() {
local cfg="led_$1"
local name="$2"