ramips: export slic IRQ line in dwr-512
[openwrt/openwrt.git] / target / linux / x86 / geode / base-files / etc / board.d / 01_leds
1 #!/bin/sh
2 #
3 # Copyright © 2017 OpenWrt.org
4 #
5
6 . /lib/functions/uci-defaults.sh
7
8 board_config_update
9
10 board=$(cat /tmp/sysinfo/board_name) 2>/dev/null
11
12 case "$board" in
13 traverse-technologies-geos)
14 ucidef_set_led_netdev "lan" "LAN" "geos:1" "br-lan" "tx rx"
15 ucidef_set_led_netdev "wlan" "WiFi" "geos:2" "phy0tpt"
16 ucidef_set_led_default "diag" "DIAG" "geos:3" "0"
17 ;;
18 esac
19 board_config_flush
20
21 exit 0