minor basefiles fixes

SVN-Revision: 34790
owl
John Crispin 2012-12-19 15:17:42 +00:00
parent e472671bde
commit 687920ba3e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -7,7 +7,7 @@
. /lib/functions/uci-defaults.sh . /lib/functions/uci-defaults.sh
. /lib/functions/lantiq.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/usb" ] && ucidef_set_led_usbdev "usb" "usb" "usb" "1-1"
[ -e "/sys/class/leds/dsl" ] && ucidef_set_led_netdev "dsl" "dsl" "dsl" "pppoe-wan" [ -e "/sys/class/leds/dsl" ] && ucidef_set_led_netdev "dsl" "dsl" "dsl" "pppoe-wan"