[package] udev: bump to 173
[openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / wrt160nl
1 #!/bin/sh
2 #
3 # Copyright (C) 2010 OpenWrt.org
4 #
5
6 . /lib/ar71xx.sh
7
8 board=$(ar71xx_board_name)
9
10 wrt160nl_fixtrx() {
11 mtd -o 32 fixtrx firmware
12 }
13
14 wrt160nl_setup_leds() {
15 uci batch <<EOF
16 set system.wlan_led=led
17 set system.wlan_led.name='WLAN'
18 set system.wlan_led.sysfs='wrt160nl:blue:wlan'
19 set system.wlan_led.trigger='phy0tpt'
20 commit system
21 EOF
22 }
23
24 if [ "${board}" == "wrt160nl" ]; then
25 wrt160nl_fixtrx
26 wrt160nl_setup_leds
27 fi
This page took 0.065794 seconds and 5 git commands to generate.