aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-08-04 19:12:21 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-04 20:53:02 +0200
commit577f873dafdf3914c79ee21869288f20d419a39f (patch)
treeab095458101aea1eef8766a97dc307207464f22d /package/base-files/files/lib
parent9e62a7668c4085563a907da51a08819c88d04f33 (diff)
downloadupstream-577f873dafdf3914c79ee21869288f20d419a39f.tar.gz
upstream-577f873dafdf3914c79ee21869288f20d419a39f.tar.bz2
upstream-577f873dafdf3914c79ee21869288f20d419a39f.zip
kernel: remove unused morse led trigger driver
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/base-files/files/lib')
-rw-r--r--package/base-files/files/lib/functions/leds.sh11
1 files changed, 0 insertions, 11 deletions
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