diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2012-01-24 11:48:47 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2012-01-24 11:48:47 +0000 |
commit | 34ce00adfd9334031bcc021b4591179b2f810d66 (patch) | |
tree | 212426717d8605f4f9ec9a8d1ff09824712549c9 /target/linux/ramips/base-files/lib/preinit | |
parent | 523eae8c338150ec62ab3d148074a7f7095bfa14 (diff) | |
download | master-187ad058-34ce00adfd9334031bcc021b4591179b2f810d66.tar.gz master-187ad058-34ce00adfd9334031bcc021b4591179b2f810d66.tar.bz2 master-187ad058-34ce00adfd9334031bcc021b4591179b2f810d66.zip |
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/lib/preinit')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac index f1d641cd29..9a4d515b19 100644 --- a/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac +++ b/target/linux/ramips/base-files/lib/preinit/06_set_iface_mac @@ -8,7 +8,9 @@ preinit_set_mac_address() { . /lib/ramips.sh case $(ramips_board_name) in - bc2 | nw718 | esr-9753) + bc2 |\ + nw718 |\ + esr-9753) mac=$(ramips_get_mac_binary factory 4) mac=$(maccalc or "$mac" "02:00:00:00:00:00") ifconfig eth0 hw ether $mac 2>/dev/null @@ -19,6 +21,7 @@ preinit_set_mac_address() { mac=$(ramips_get_mac_binary devdata 16388) ifconfig eth0 hw ether $mac 2>/dev/null ;; + all0256n |\ hw550-3g |\ nbg-419n |\ omni-emb |\ |