summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-12-19 15:17:42 +0000
committerJohn Crispin <john@openwrt.org>2012-12-19 15:17:42 +0000
commit687920ba3e0a6968a5b23729c6c7fa0c4859fcce (patch)
tree61cc8ae198aa8f155cc595cdc9f4e9a1084726d1 /target/linux
parente472671bde4bc0343ae33179ebb1c73f22bd1816 (diff)
downloadmtk-20170518-687920ba3e0a6968a5b23729c6c7fa0c4859fcce.zip
mtk-20170518-687920ba3e0a6968a5b23729c6c7fa0c4859fcce.tar.gz
mtk-20170518-687920ba3e0a6968a5b23729c6c7fa0c4859fcce.tar.bz2
minor basefiles fixes
SVN-Revision: 34790
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh2
-rwxr-xr-xtarget/linux/lantiq/base-files/etc/uci-defaults/leds2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh b/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh
index 1d1467a..e6dcb34 100644
--- a/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh
+++ b/target/linux/lantiq/base-files/etc/hotplug.d/button/10-generic.sh
@@ -5,7 +5,7 @@
. /lib/functions.sh
case "${BUTTON}" in
- BTN_0)
+ reset)
logger "reset pressed"
echo "REBOOT" > /dev/console
sleep 3
diff --git a/target/linux/lantiq/base-files/etc/uci-defaults/leds b/target/linux/lantiq/base-files/etc/uci-defaults/leds
index 747a715..3f87fe0 100755
--- a/target/linux/lantiq/base-files/etc/uci-defaults/leds
+++ b/target/linux/lantiq/base-files/etc/uci-defaults/leds
@@ -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"