3 # Copyright (C) 2011 OpenWrt.org
14 uci
-q get system.
$cfg && return 0
18 set system.$cfg.name='$name'
19 set system.$cfg.sysfs='$sysfs'
20 set system.$cfg.trigger='netdev'
21 set system.$cfg.dev='$dev'
22 set system.$cfg.mode='link tx rx'
33 uci
-q get system.
$cfg && return 0
37 set system.$cfg.name='$name'
38 set system.$cfg.sysfs='$sysfs'
39 set system.$cfg.trigger='usbdev'
40 set system.$cfg.dev='$dev'
41 set system.$cfg.interval='50'
52 uci
-q get system.
$cfg && return 0
56 set system.$cfg.name='$name'
57 set system.$cfg.sysfs='$sysfs'
58 set system.$cfg.trigger='$trigger'
69 uci
-q get system.
$cfg && return 0
73 set system.$cfg.name='$name'
74 set system.$cfg.sysfs='$sysfs'
75 set system.$cfg.default='$default'
82 board
=$
(ar71xx_board_name
)
86 set_led_default
"act" "act" "rb750:green:act" "1"
87 set_led_netdev
"port1" "port1" "rb750:green:port1" "eth1"
91 set_led_usbdev
"usb" "USB" "dir825b1:blue:usb" "1-1"
95 set_led_usbdev
"usb" "USB" "planex:green:usb" "1-1"
99 set_led_wlan
"wlan" "WLAN" "nbg460n:green:wlan" "phy0tpt"
103 set_led_netdev
"port1" "port1" "om2p:blue:wan" "eth0"
104 set_led_netdev
"port2" "port2" "om2p:blue:lan" "eth1"
109 set_led_usbdev
"usb" "USB" "tp-link:green:3g" "1-1"
114 set_led_wlan
"wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
118 set_led_usbdev
"usb" "USB" "tp-link:green:usb" "1-1"
119 set_led_wlan
"wlan" "WLAN" "tp-link:green:wlan" "phy0tpt"
123 set_led_wlan
"wlan" "WLAN" "wrt160nl:blue:wlan" "phy0tpt"
128 set_led_default
"wan" "WAN LED (green)" "wndr3700:green:wan" "0"
129 set_led_usbdev
"usb" "USB" "wndr3700:green:usb" "1-1"
133 set_led_wlan
"wlan" "Wireless" "buffalo:green:wireless" "phy0tpt"
134 set_led_netdev
"router" "Router" "buffalo:green:router" "eth1"
135 set_led_usbdev
"usb" "USB" "buffalo:blue:usb" "1-1"
139 set_led_netdev
"lan1" "lan1" "zcn-1523h:green:lan1" "eth0"
143 set_led_netdev
"lan1" "lan1" "zcn-1523h:green:lan1" "eth0"
144 set_led_netdev
"lan2" "lan2" "zcn-1523h:green:lan2" "eth1"
148 [ "$COMMIT_SYSTEM" == "1" ] && uci commit system
This page took 0.072836 seconds and 5 git commands to generate.