diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-01 11:20:49 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-11-01 11:20:49 +0000 |
commit | 0f535ad2611b82842807d8baff856b338d2cfdc0 (patch) | |
tree | 0a479c5527eec254225adad3359eef066bb967e5 /target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh | |
parent | 0fe49305dea4165c62583f3bce346aedfd686a99 (diff) |
ar71xx: combine LEDs setup in one file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28704 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh')
-rwxr-xr-x | target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh b/target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh deleted file mode 100755 index 989435c1db..0000000000 --- a/target/linux/ar71xx/base-files/etc/uci-defaults/wzr-hp-g300nh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2010 OpenWrt.org -# - -. /lib/ar71xx.sh - -board=$(ar71xx_board_name) - -wzrhpg300nh_set_leds() { - uci batch <<EOF -add system led -set system.@led[-1]='led' -set system.@led[-1].name='Wireless' -set system.@led[-1].sysfs='buffalo:green:wireless' -set system.@led[-1].trigger='phy0tpt' -add system led -set system.@led[-1]='led' -set system.@led[-1].name='Router' -set system.@led[-1].sysfs='buffalo:green:router' -set system.@led[-1].trigger='netdev' -set system.@led[-1].dev='eth1' -set system.@led[-1].mode='link tx rx' -add system led -set system.@led[-1]='led' -set system.@led[-1].name='USB' -set system.@led[-1].sysfs='buffalo:blue:usb' -set system.@led[-1].trigger='usbdev' -set system.@led[-1].dev='1-1' -set system.@led[-1].interval='50' -commit system -EOF -} - -if [ "${board}" == "wzr-hp-g300nh" ]; then - wzrhpg300nh_set_leds -fi |