From: John Crispin Date: Wed, 19 Dec 2012 15:17:42 +0000 (+0000) Subject: minor basefiles fixes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=687920ba3e0a6968a5b23729c6c7fa0c4859fcce;p=openwrt%2Fstaging%2Fstintel.git minor basefiles fixes SVN-Revision: 34790 --- diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh b/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh index 1d1467adef..e6dcb347f1 100644 --- a/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh +++ b/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh @@ -5,7 +5,7 @@ . /lib/functions.sh case "${BUTTON}" in - BTN_0) + reset) logger "reset pressed" echo "REBOOT" > /dev/console sleep 3 diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/leds b/target/linux/lantiq/base-files/etc/uci-defaults/leds index 747a715044..3f87fe0758 100755 --- a/target/linux/lantiq/base-files/etc/uci-defaults/leds +++ b/target/linux/lantiq/base-files/etc/uci-defaults/leds @@ -7,7 +7,7 @@ . /lib/functions/uci-defaults.sh . /lib/functions/lantiq.sh -[ -e "/sys/class/leds/wifi" ] && ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0tx" +[ -e "/sys/class/leds/wifi" ] && ucidef_set_led_wlan "wifi" "wifi" "wifi" "phy0tpt" [ -e "/sys/class/leds/usb" ] && ucidef_set_led_usbdev "usb" "usb" "usb" "1-1" [ -e "/sys/class/leds/dsl" ] && ucidef_set_led_netdev "dsl" "dsl" "dsl" "pppoe-wan"