X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fbase-files%2Flib%2Framips.sh;h=0087f2003bb802b83c95670004a963d5517a423c;hb=695f5ea85a20d14b179053496ff007cb5d947923;hp=4213159378503d4ac43b06ffc4f85a9ef9e834ff;hpb=5f932988c3b65af14bd6e48a05cc2204b7aeb419;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 4213159378..0087f2003b 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -76,15 +76,9 @@ ramips_board_detect() { *"AWM002 EVB (8M)") name="awm002-evb-8M" ;; - *"AWM003 EVB") - name="awm003-evb" - ;; *"BC2") name="bc2" ;; - *"BR-6425") - name="br-6425" - ;; *"BR-6475nD") name="br-6475nd" ;; @@ -187,7 +181,7 @@ ramips_board_detect() { *"EX2700") name="ex2700"; ;; - *"EX3700") + *"EX3700/EX3800") name="ex3700" ;; *"F5D8235 v1") @@ -208,6 +202,9 @@ ramips_board_detect() { *"FreeStation5") name="freestation5" ;; + *"GB-PC1") + name="gb-pc1" + ;; *"GL-MT300A") name="gl-mt300a" ;; @@ -217,6 +214,9 @@ ramips_board_detect() { *"GL-MT750") name="gl-mt750" ;; + *"GL-MT300N-V2") + name="gl-mt300n-v2" + ;; *"HC5661") name="hc5661" ;; @@ -259,6 +259,9 @@ ramips_board_detect() { *"JHR-N926R") name="jhr-n926r" ;; + *"K2P") + name="k2p" + ;; *"M3") name="m3" ;; @@ -281,7 +284,7 @@ ramips_board_detect() { name="m2m" ;; *"Mercury MAC1200R v2") - name="mac1200r-v2" + name="mac1200rv2" ;; *"MicroWRT") name="microwrt" @@ -421,6 +424,9 @@ ramips_board_detect() { *"RB750Gr3") name="rb750gr3" ;; + *"RE350 v1") + name="re350-v1" + ;; *"RE6500") name="re6500" ;; @@ -469,6 +475,9 @@ ramips_board_detect() { *"SL-R7205"*) name="sl-r7205" ;; + *"TEW-638APB v2") + name="tew-638apb-v2" + ;; *"TEW-691GR") name="tew-691gr" ;; @@ -481,9 +490,18 @@ ramips_board_detect() { *"Timecloud") name="timecloud" ;; + *"TL-WR840N v4") + name="tl-wr840n-v4" + ;; + *"TL-WR841N v13") + name="tl-wr841n-v13" + ;; *"UBNT-ERX") name="ubnt-erx" ;; + *"UBNT-ERX-SFP") + name="ubnt-erx-sfp" + ;; *"UR-326N4G") name="ur-326n4g" ;; @@ -574,6 +592,9 @@ ramips_board_detect() { *"WLR-6000") name="wlr-6000" ;; + *"WMDR-143N") + name="wmdr-143n" + ;; *"WMR-300") name="wmr-300" ;; @@ -701,12 +722,3 @@ ramips_board_detect() { echo "$RAMIPS_BOARD_NAME" > /tmp/sysinfo/board_name echo "$RAMIPS_MODEL" > /tmp/sysinfo/model } - -ramips_board_name() { - local name - - [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name) - [ -z "$name" ] && name="unknown" - - echo "${name}" -}