From 335771833b4411c2645f971af050d9a79ffc8ccb Mon Sep 17 00:00:00 2001 From: juhosg Date: Sat, 2 Jan 2010 15:07:39 +0000 Subject: [PATCH] adm5120: add kmod-leds-gpio and kmod-ledtrig-adm5120-switch to the default packages git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19001 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/adm5120/Makefile | 3 ++- target/linux/adm5120/base-files/etc/diag.sh | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/target/linux/adm5120/Makefile b/target/linux/adm5120/Makefile index bcafec0b7..8bd1eb11a 100644 --- a/target/linux/adm5120/Makefile +++ b/target/linux/adm5120/Makefile @@ -16,6 +16,7 @@ INITRAMFS_EXTRA_FILES:= include $(INCLUDE_DIR)/target.mk DEFAULT_PACKAGES += admswconfig hostapd-mini kmod-input-core \ - kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug + kmod-input-polldev kmod-input-gpio-buttons kmod-button-hotplug \ + kmod-leds-gpio kmod-ledtrig-adm5120-switch $(eval $(call BuildTarget)) diff --git a/target/linux/adm5120/base-files/etc/diag.sh b/target/linux/adm5120/base-files/etc/diag.sh index e03175523..3a66dfc87 100755 --- a/target/linux/adm5120/base-files/etc/diag.sh +++ b/target/linux/adm5120/base-files/etc/diag.sh @@ -35,6 +35,7 @@ status_led_off() { set_state() { case "$1" in preinit) + insmod leds-gpio status_led_set_timer 200 200 ;; failsafe)