minor basefiles fixes
authorJohn Crispin <john@openwrt.org>
Wed, 19 Dec 2012 15:17:42 +0000 (15:17 +0000)
committerJohn Crispin <john@openwrt.org>
Wed, 19 Dec 2012 15:17:42 +0000 (15:17 +0000)
SVN-Revision: 34790

target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh
target/linux/lantiq/base-files/etc/uci-defaults/leds

index 1d1467adef3039802bc9ebec7881afe0cb0d1f58..e6dcb347f1a72adf8ecdec55e13dc8898bf13e11 100644 (file)
@@ -5,7 +5,7 @@
 . /lib/functions.sh
 
 case "${BUTTON}" in
-       BTN_0)
+       reset)
                logger "reset pressed"
                echo "REBOOT" > /dev/console
                sleep 3
index 747a715044f5436826c03678c3256f9e59ad8a94..3f87fe075852adf14024ecf2e1f4bed167cbd78c 100755 (executable)
@@ -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"