mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-04 23:53:08 +02:00
[lantiq] minor basefiles fixes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34790 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
22a7701ea2
commit
83ca1c6d75
@ -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