diff options
Diffstat (limited to 'target/linux/adm5120/base-files/lib/.svn')
3 files changed, 130 insertions, 0 deletions
diff --git a/target/linux/adm5120/base-files/lib/.svn/entries b/target/linux/adm5120/base-files/lib/.svn/entries new file mode 100644 index 0000000..0e0625b --- /dev/null +++ b/target/linux/adm5120/base-files/lib/.svn/entries @@ -0,0 +1,68 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/adm5120/base-files/lib +svn://svn.openwrt.org/openwrt + + + +2011-03-21T16:52:14.042971Z +26257 +thepeople + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +adm5120.sh +file + + + + +2013-03-17T12:12:30.000000Z +fe05ba9a706e777a4875ec30622f7935 +2010-07-18T10:29:58.775541Z +22275 +florian +has-props + + + + + + + + + + + + + + + + + + + + +738 + +upgrade +dir + +preinit +dir + diff --git a/target/linux/adm5120/base-files/lib/.svn/prop-base/adm5120.sh.svn-base b/target/linux/adm5120/base-files/lib/.svn/prop-base/adm5120.sh.svn-base new file mode 100644 index 0000000..03b5bfa --- /dev/null +++ b/target/linux/adm5120/base-files/lib/.svn/prop-base/adm5120.sh.svn-base @@ -0,0 +1,9 @@ +K 13 +svn:eol-style +V 6 +native +K 14 +svn:executable +V 1 +* +END diff --git a/target/linux/adm5120/base-files/lib/.svn/text-base/adm5120.sh.svn-base b/target/linux/adm5120/base-files/lib/.svn/text-base/adm5120.sh.svn-base new file mode 100644 index 0000000..496fc06 --- /dev/null +++ b/target/linux/adm5120/base-files/lib/.svn/text-base/adm5120.sh.svn-base @@ -0,0 +1,53 @@ +#!/bin/sh +# +# Copyright (C) 2007 OpenWrt.org +# +# + +board_name="" +status_led="" +sys_mtd_part="" + +adm5120_detect() { + board_name=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo) + + case "$board_name" in + "Cellvision"*) + status_led="status" + sys_mtd_part="firmware" + ;; + "Compex"*) + status_led="diag" + case "$board_name" in + *-WRT) + sys_mtd_part="trx" + ;; + *) + sys_mtd_part="partition1" + ;; + esac + ;; + "Edimax"*) + status_led="power" + sys_mtd_part="firmware" + ;; + "Infineon"*) + sys_mtd_part="firmware" + ;; + "Mikrotik"*) + status_led="power" + ;; + "ZyXEL"*) + status_led="power" + sys_mtd_part="trx" + ;; + "EB-214A"*) + status_led="power" + sys_mtd_part="firmware" + ;; + *) + ;; + esac +} + +adm5120_detect |