aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/base-files/etc/uci-defaults')
-rw-r--r--target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds19
-rwxr-xr-xtarget/linux/brcm63xx/base-files/etc/uci-defaults/02_network3
2 files changed, 21 insertions, 1 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
new file mode 100644
index 0000000000..6007e38218
--- /dev/null
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/01_leds
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# Copyright (C) 2013 OpenWrt.org
+#
+
+
+. /lib/functions/uci-defaults.sh
+. /lib/brcm63xx.sh
+
+
+case "$board_name" in
+'F@ST2704V2')
+ ucidef_set_led_usbdev "usb" "USB" "F@ST2704V2:green:usb" "1-1"
+ ;;
+esac
+
+ucidef_commit_leds
+
+exit 0
diff --git a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
index d7f6c3a46d..087bce960d 100755
--- a/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
+++ b/target/linux/brcm63xx/base-files/etc/uci-defaults/02_network
@@ -80,7 +80,8 @@ DVG3810BN)
96328A-1441N1 |\
963281TAN |\
963281T_TEF |\
-96368MVNgr)
+96368MVNgr |\
+"F@ST2704V2")
ucidef_set_interface_lan "eth0.1"
ucidef_add_switch "eth0" "1" "1"
ucidef_add_switch_vlan "eth0" "1" "0 1 2 3 8t"