mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 09:12:39 +00:00
minor basefiles fixes
SVN-Revision: 34790
This commit is contained in:
parent
e472671bde
commit
687920ba3e
@ -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
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user