summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults/network
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-24 11:48:47 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-01-24 11:48:47 +0000
commit64435afc83db0412d180ee6c9a0d177b3d45568f (patch)
tree212426717d8605f4f9ec9a8d1ff09824712549c9 /target/linux/ramips/base-files/etc/uci-defaults/network
parentad3e5bb07833a31add352653c4f418854e30023c (diff)
ramips: add user-space support for ALL0256N
This adds uci-defaults and sysupgrade support for the ALL0256N. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29883 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/etc/uci-defaults/network')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/uci-defaults/network8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/etc/uci-defaults/network b/target/linux/ramips/base-files/etc/uci-defaults/network
index 89a3e359a..cc5600bcf 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -16,6 +16,10 @@ ramips_setup_interfaces()
ucidef_set_interface_loopback
case $board in
+ all0256n)
+ ucidef_set_interface_lan "eth0.1"
+ ;;
+
argus-atp52b | \
b2c | \
nw718 | \
@@ -65,6 +69,10 @@ ramips_setup_macs()
local wan_mac=""
case $board in
+ all0256n)
+ lan_mac=$(ramips_get_mac_binary factory 40)
+ ;;
+
argus-atp52b | \
b2c | \
f5d8235-v1 | \