aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/functions/uci-defaults.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/functions/uci-defaults.sh')
-rwxr-xr-xpackage/base-files/files/lib/functions/uci-defaults.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/base-files/files/lib/functions/uci-defaults.sh b/package/base-files/files/lib/functions/uci-defaults.sh
index 07e42c6491..6578202269 100755
--- a/package/base-files/files/lib/functions/uci-defaults.sh
+++ b/package/base-files/files/lib/functions/uci-defaults.sh
@@ -358,6 +358,10 @@ ucidef_add_vdsl_modem() {
json_select ..
}
+ucidef_set_led_ataport() {
+ _ucidef_set_led_trigger "$1" "$2" "$3" ata"$4"
+}
+
_ucidef_set_led_common() {
local cfg="led_$1"
local name="$2"
@@ -510,6 +514,10 @@ ucidef_set_led_usbdev() {
json_select ..
}
+ucidef_set_led_usbhost() {
+ _ucidef_set_led_trigger "$1" "$2" "$3" usb-host
+}
+
ucidef_set_led_usbport() {
local obj="$1"
local name="$2"