minor basefiles fixes

SVN-Revision: 34790
This commit is contained in:
John Crispin 2012-12-19 15:17:42 +00:00
parent e472671bde
commit 687920ba3e
2 changed files with 2 additions and 2 deletions
target/linux/lantiq/base-files/etc
hotplug.d/button
uci-defaults

View File

@ -5,7 +5,7 @@
. /lib/functions.sh
case "${BUTTON}" in
BTN_0)
reset)
logger "reset pressed"
echo "REBOOT" > /dev/console
sleep 3

View File

@ -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"