X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/796a9d1091884a07817e5c140d0ff6a0b8c76235..9ee3790b2ad1c280570dd7beaeb112c7fce7b314:/target/linux/adm5120/base-files/lib/adm5120.sh diff --git a/target/linux/adm5120/base-files/lib/adm5120.sh b/target/linux/adm5120/base-files/lib/adm5120.sh index fb0526e40..496fc06f3 100755 --- a/target/linux/adm5120/base-files/lib/adm5120.sh +++ b/target/linux/adm5120/base-files/lib/adm5120.sh @@ -9,7 +9,7 @@ status_led="" sys_mtd_part="" adm5120_detect() { - board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /system type/ {print $2}' /proc/cpuinfo) + board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) case "$board_name" in "Cellvision"*) @@ -41,6 +41,10 @@ adm5120_detect() { status_led="power" sys_mtd_part="trx" ;; + "EB-214A"*) + status_led="power" + sys_mtd_part="firmware" + ;; *) ;; esac