aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/functions/uci-defaults-new.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/functions/uci-defaults-new.sh')
-rwxr-xr-xpackage/base-files/files/lib/functions/uci-defaults-new.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/package/base-files/files/lib/functions/uci-defaults-new.sh b/package/base-files/files/lib/functions/uci-defaults-new.sh
index 6f9d716e9b..2ea0742e1e 100755
--- a/package/base-files/files/lib/functions/uci-defaults-new.sh
+++ b/package/base-files/files/lib/functions/uci-defaults-new.sh
@@ -248,22 +248,6 @@ ucidef_set_led_netdev() {
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"