diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-29 17:50:38 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-29 17:50:38 +0000 |
commit | 334c572cd25a960e1ffc1f3f6889e8b66e0abd0b (patch) | |
tree | 7ee7a1c7f00b0800d4165f57b88989cb98cd6015 /target/linux/ramips/base-files/lib | |
parent | cf95bd53690f6d787e14ad25033b87ce39aa1712 (diff) |
ramips: add user-space support for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34926 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/base-files/lib')
-rw-r--r-- | target/linux/ramips/base-files/lib/preinit/06_set_iface_mac | 1 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/ramips.sh | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
3 files changed, 5 insertions, 0 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 7e2bac4547..f411ab1fd0 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 @@ -9,6 +9,7 @@ preinit_set_mac_address() { case $(ramips_board_name) in 3g-6200n |\ + mzk-w300nh2 |\ wl-330n |\ wl-330n3g) mac=$(ramips_get_mac_binary factory 4) diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 42fcb646ce..0128717e35 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -140,6 +140,9 @@ ramips_board_name() { *"Petatel PSR-680W"*) name="psr-680w" ;; + *"Planex MZK-W300NH2"*) + name="mzk-w300nh2" + ;; *"PWH2004") name="pwh2004" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index d1ccf7eac1..584e16410a 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -35,6 +35,7 @@ platform_check_image() { freestation5 | \ hw550-3g | \ mofi3500-3gn | \ + mzk-w300nh2 | \ nbg-419n | \ nw718 | \ omni-emb | \ |