From 0f80302310f264123062965074ef91e06a2325e6 Mon Sep 17 00:00:00 2001 From: blogic Date: Thu, 26 Jul 2012 17:06:55 +0000 Subject: [atheros] Add leds back after migration to sysfs atheros trunk moved to full sysfs gpiolib, but the leds were forgotten. This restores the wlan led that was missing after switching from backfire to trunk. Signed-off-by: Karl Palsson git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32885 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/atheros/base-files/etc/uci-defaults/leds | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 target/linux/atheros/base-files/etc/uci-defaults/leds (limited to 'target/linux/atheros/base-files/etc/uci-defaults/leds') diff --git a/target/linux/atheros/base-files/etc/uci-defaults/leds b/target/linux/atheros/base-files/etc/uci-defaults/leds new file mode 100644 index 000000000..076a04bfd --- /dev/null +++ b/target/linux/atheros/base-files/etc/uci-defaults/leds @@ -0,0 +1,11 @@ +#!/bin/sh +# Copyright 2012 OpenWrt.org +# + +. /lib/functions/uci-defaults.sh + +ucidef_set_led_netdev "wlan" "wlan" "wlan" "wlan0" + +ucidef_commit_leds + +exit 0 -- cgit v1.2.3