3 # Copyright (C) 2011 OpenWrt.org
15 uci
-q get system.
$cfg && return 0
19 set system.$cfg.name='$name'
20 set system.$cfg.sysfs='$sysfs'
21 set system.$cfg.trigger='netdev'
22 set system.$cfg.dev='$dev'
23 set system.$cfg.mode='link tx rx'
34 uci
-q get system.
$cfg && return 0
38 set system.$cfg.name='$name'
39 set system.$cfg.sysfs='$sysfs'
40 set system.$cfg.trigger='usbdev'
41 set system.$cfg.dev='$dev'
42 set system.$cfg.interval='50'
53 uci
-q get system.
$cfg && return 0
57 set system.$cfg.name='$name'
58 set system.$cfg.sysfs='$sysfs'
59 set system.$cfg.trigger='$trigger'
70 uci
-q get system.
$cfg && return 0
74 set system.$cfg.name='$name'
75 set system.$cfg.sysfs='$sysfs'
76 set system.$cfg.default='$default'
83 board
=$
(lantiq_board_name
)
87 set_led_netdev
"wifi" "wifi" "soc:blue:wifi" "wlan0"
88 set_led_usbdev
"usb" "USB" "soc:blue:usb" "1-1"
89 set_led_default
"fxs1" "fxs1" "soc:blue:fxs1" "1"
90 set_led_default
"fxs2" "fxs2" "soc:blue:fxs2" "1"
91 set_led_default
"online" "online" "soc:blue:internet" "1"
95 set_led_netdev
"wifi" "wifi" "soc:green:wifi" "wlan0"
96 set_led_default
"fxs1" "fxs1" "soc:green:fxs1" "1"
97 set_led_default
"fxs2" "fxs2" "soc:green:fxs2" "1"
98 set_led_default
"dsl" "dsl" "soc:red:dsl" "1"
99 set_led_default
"online" "online" "soc:green:online" "1"
103 set_led_netdev
"wifi" "wifi" "soc:green:wifi" "wlan0"
104 set_led_default
"fxs1" "fxs1" "soc:green:fxs1" "1"
105 set_led_default
"fxs2" "fxs2" "soc:green:fxs2" "1"
106 set_led_default
"dsl" "dsl" "soc:green:dsl" "1"
107 set_led_default
"online" "online" "soc:green:online" "1"
111 set_led_wlan
"wifi" "wifi" "soc:green:wifi" "phy0radio"
112 set_led_netdev
"online" "online" "soc:green:online" "pppoe-wan"
113 set_led_usbdev
"usb" "USB" "soc:green:usb" "1-1"
117 set_led_wlan
"wifi" "wifi" "soc:green:wifi" "phy0radio"
118 set_led_netdev
"internet" "internet" "soc:green:internet" "pppoe-wan"
119 set_led_usbdev
"usb" "USB" "soc:green:usb" "1-1"
123 set_led_wlan
"wifi" "wifi" "soc:green:wifi" "phy0radio"
124 set_led_netdev
"internet" "internet" "soc:green:internet" "pppoe-wan"
125 set_led_usbdev
"usb" "USB" "soc:green:usb" "1-1"
129 [ "$COMMIT_SYSTEM" == "1" ] && uci commit system
This page took 0.049507 seconds and 5 git commands to generate.