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:green:wifi" "wlan0"
88 set_led_default
"fxs1" "fxs1" "soc:green:fxs1" "1"
89 set_led_default
"fxs2" "fxs2" "soc:green:fxs2" "1"
90 set_led_default
"dsl" "dsl" "soc:red:dsl" "1"
91 set_led_default
"online" "online" "soc:green:online" "1"
95 set_led_wlan
"wifi" "wifi" "soc:green:wifi" "phy0radio"
96 set_led_netdev
"online" "online" "soc:green:online" "nas0"
97 set_led_usbdev
"usb" "USB" "soc:green:usb" "1-1"
98 set_led_default
"adsl" "adsl" "soc:green:adsl" "0"
99 set_led_default
"voip" "voip" "soc:green:voip" "0"
100 set_led_default
"phone1" "fxs1" "soc:green:phone1" "0"
101 set_led_default
"phone2" "fxs2" "soc:green:phone2" "0"
102 set_led_default
"line" "line" "soc:green:line" "0"
106 [ "$COMMIT_SYSTEM" == "1" ] && uci commit system
This page took 0.045586 seconds and 5 git commands to generate.