mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 09:32:34 +00:00
25 lines
455 B
Bash
Executable File
25 lines
455 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. /lib/functions/uci-defaults.sh
|
|
|
|
board_config_update
|
|
|
|
board=$(board_name)
|
|
|
|
case "$board" in
|
|
sercomm,ap72tip)
|
|
ucidef_set_led_netdev "wan_link" "wan_link" "green:phy" "eth0" "link"
|
|
ucidef_set_led_netdev "wan_act" "wan_act" "yellow:phy" "eth0" "rx tx"
|
|
;;
|
|
sonicfi,rap7110c-341x)
|
|
ucidef_set_led_default "power" "POWER" "pwm:blue" "on"
|
|
;;
|
|
cig,wf189w)
|
|
ucidef_set_led_default "power" "POWER" "pwm:blue" "on"
|
|
;;
|
|
esac
|
|
|
|
board_config_flush
|
|
|
|
exit 0
|