aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2012-12-19 15:17:42 +0000
committerJohn Crispin <blogic@openwrt.org>2012-12-19 15:17:42 +0000
commitffe33259302bcf5eb900d47bbd5272eb5fa5d8d0 (patch)
treee5cc21b8e157a8f4f190131609d7042e809e9480
parentbfed5c6801fb82bbd81c7c46663d9c30939b1e55 (diff)
downloadupstream-ffe33259302bcf5eb900d47bbd5272eb5fa5d8d0.tar.gz
upstream-ffe33259302bcf5eb900d47bbd5272eb5fa5d8d0.tar.bz2
upstream-ffe33259302bcf5eb900d47bbd5272eb5fa5d8d0.zip
[lantiq] minor basefiles fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34790 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh2
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/leds2
2 files changed, 2 insertions, 2 deletions
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"