diff options
Diffstat (limited to 'target/linux/mpc85xx/base-files/etc')
-rw-r--r-- | target/linux/mpc85xx/base-files/etc/board.d/01_leds | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/base-files/etc/board.d/01_leds b/target/linux/mpc85xx/base-files/etc/board.d/01_leds new file mode 100644 index 0000000000..391c909e4c --- /dev/null +++ b/target/linux/mpc85xx/base-files/etc/board.d/01_leds @@ -0,0 +1,19 @@ + +. /lib/functions/leds.sh +. /lib/functions/uci-defaults.sh + +board=$(board_name) +boardname="${board##*,}" + +board_config_update + +case $board in +extreme-networks,ws-ap3825i) + ucidef_set_led_netdev "lan1" "LAN1" "green:lan1" "eth1" + ucidef_set_led_netdev "lan2" "LAN2" "green:lan2" "eth0" + ;; +esac + +board_config_flush + +exit 0 |