summaryrefslogtreecommitdiffstats
path: root/target/linux/ath25/base-files/etc/board.d/01_leds
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-04 14:15:09 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-12-04 14:15:09 +0000
commit1e4478e83a270f79f6714b46d226c29a5db9b743 (patch)
tree16cf7b6136d8ebdaf954cfbe9a8a56727124c6eb /target/linux/ath25/base-files/etc/board.d/01_leds
parent5ebc5de49dd8fa789be22798b4e6b3ebb1a52ad5 (diff)
downloadmaster-31e0f0ae-1e4478e83a270f79f6714b46d226c29a5db9b743.tar.gz
master-31e0f0ae-1e4478e83a270f79f6714b46d226c29a5db9b743.tar.bz2
master-31e0f0ae-1e4478e83a270f79f6714b46d226c29a5db9b743.zip
ath25: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47756
Diffstat (limited to 'target/linux/ath25/base-files/etc/board.d/01_leds')
-rwxr-xr-xtarget/linux/ath25/base-files/etc/board.d/01_leds13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/ath25/base-files/etc/board.d/01_leds b/target/linux/ath25/base-files/etc/board.d/01_leds
new file mode 100755
index 0000000000..e28dcda23d
--- /dev/null
+++ b/target/linux/ath25/base-files/etc/board.d/01_leds
@@ -0,0 +1,13 @@
+#!/bin/sh
+# Copyright 2012-2015 OpenWrt.org
+#
+
+. /lib/functions/uci-defaults-new.sh
+
+board_config_update
+
+ucidef_set_led_netdev "wlan" "wlan" "wlan" "wlan0"
+
+board_config_flush
+
+exit 0