aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rwxr-xr-xpackage/base-files/files/etc/init.d/led5
-rw-r--r--package/base-files/files/lib/functions/leds.sh11
-rw-r--r--package/kernel/linux/modules/leds.mk15
3 files changed, 0 insertions, 31 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
diff --git a/package/kernel/linux/modules/leds.mk b/package/kernel/linux/modules/leds.mk
index aea62902ac..efcb030564 100644
--- a/package/kernel/linux/modules/leds.mk
+++ b/package/kernel/linux/modules/leds.mk
@@ -54,21 +54,6 @@ endef
$(eval $(call KernelPackage,ledtrig-gpio))
-define KernelPackage/ledtrig-morse
- SUBMENU:=$(LEDS_MENU)
- TITLE:=LED Morse Trigger
- KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE
- FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko
- AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse)
-endef
-
-define KernelPackage/ledtrig-morse/description
- Kernel module to show morse coded messages on LEDs
-endef
-
-$(eval $(call KernelPackage,ledtrig-morse))
-
-
define KernelPackage/ledtrig-netdev
SUBMENU:=$(LEDS_MENU)
TITLE:=LED NETDEV Trigger