summaryrefslogtreecommitdiff
path: root/target/linux/ramips/base-files/etc/board.d
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files/etc/board.d')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds4
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network5
2 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds
index dfd0ca7..8695cde 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -152,6 +152,10 @@ case $board in
nw718)
set_usb_led "nw718:amber:usb"
;;
+ m2m)
+ set_wifi_led "m2m:blue:wifi"
+ ucidef_set_led_netdev "eth" "Ethernet" "m2m:green:wan" "eth0"
+ ;;
omni-emb-hpm)
ucidef_set_led_default "power" "POWER" "emb:orange:power" "1"
ucidef_set_led_netdev "eth" "ETH" "emb:green:eth" "eth0"
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index aad1197..70b369d 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -65,6 +65,11 @@ ramips_setup_interfaces()
ucidef_set_interface_lan "eth0.1"
;;
+ m2m)
+ ucidef_add_switch "switch0" "4"
+ ucidef_set_interface_lan "eth0"
+ ;;
+
wizard8800 | \
wl-330n | \
wmr300)