aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files/etc/uci-defaults/network
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2012-06-23 13:58:29 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2012-06-23 13:58:29 +0000
commit98a11b83cc31059d248ef297eecb63905984c28d (patch)
treed1aa7bd2f34691237fee9b2e4be51e8bfc5c587e /target/linux/ramips/base-files/etc/uci-defaults/network
parent2c440535b34f85cc0a0256e6d6e33bfeea1f86ba (diff)
downloadupstream-98a11b83cc31059d248ef297eecb63905984c28d.tar.gz
upstream-98a11b83cc31059d248ef297eecb63905984c28d.tar.bz2
upstream-98a11b83cc31059d248ef297eecb63905984c28d.zip
ramips: mac address detection for Fonera 2.0n
Detect and apply MAC address of a Fonera 2.0n (ramips) Signed-off-by: Malte Forkel <malte.forkel@berlin.de> Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32490 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/network5
1 files changed, 5 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 bbf0334437..cc3f212151 100755
--- a/target/linux/ramips/base-files/etc/uci-defaults/network
+++ b/target/linux/ramips/base-files/etc/uci-defaults/network
@@ -107,6 +107,11 @@ ramips_setup_macs()
wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 5)
;;
+ fonera20n)
+ lan_mac=$(ramips_get_mac_binary factory 40)
+ wan_mac=$(/usr/sbin/maccalc add "$lan_mac" 1)
+ ;;
+
dir-300-b1 |\
dir-300-b2 |\
dir-600-b1)