aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/etc/init.d/led5
-rw-r--r--package/base-files/files/lib/functions/leds.sh11
2 files changed, 0 insertions, 16 deletions
diff --git a/package/base-files/files/etc/init.d/led b/package/base-files/files/etc/init.d/led
index 1d10f723d0..aca0149c24 100755
--- a/package/base-files/files/etc/init.d/led
+++ b/package/base-files/files/etc/init.d/led
@@ -83,11 +83,6 @@ load_led() {
echo $port_state > /sys/class/leds/${sysfs}/port_state
;;
- "morse")
- echo $message > /sys/class/leds/${sysfs}/message
- echo $delay > /sys/class/leds/${sysfs}/delay
- ;;
-
"gpio")
echo $gpio > /sys/class/leds/${sysfs}/gpio
echo $inverted > /sys/class/leds/${sysfs}/inverted
diff --git a/package/base-files/files/lib/functions/leds.sh b/package/base-files/files/lib/functions/leds.sh
index d4d45125c5..857e7e5392 100644
--- a/package/base-files/files/lib/functions/leds.sh
+++ b/package/base-files/files/lib/functions/leds.sh
@@ -21,12 +21,6 @@ led_off() {
led_set_attr $1 "brightness" 0
}
-led_morse() {
- led_set_attr $1 "trigger" "morse"
- led_set_attr $1 "delay" "$2"
- led_set_attr $1 "message" "$3"
-}
-
status_led_set_timer() {
led_timer $status_led "$1" "$2"
[ -n "$status_led2" ] && led_timer $status_led2 "$1" "$2"
@@ -36,11 +30,6 @@ status_led_set_heartbeat() {
led_set_attr $status_led "trigger" "heartbeat"
}
-status_led_set_morse() {
- led_morse $status_led "$1" "$2"
- [ -n "$status_led2" ] && led_morse $status_led2 "$1" "$2"
-}
-
status_led_on() {
led_on $status_led
[ -n "$status_led2" ] && led_on $status_led2