diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /target/linux/cns21xx/base-files/lib/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/cns21xx/base-files/lib/.svn')
3 files changed, 102 insertions, 0 deletions
diff --git a/target/linux/cns21xx/base-files/lib/.svn/entries b/target/linux/cns21xx/base-files/lib/.svn/entries new file mode 100644 index 0000000..340d2d3 --- /dev/null +++ b/target/linux/cns21xx/base-files/lib/.svn/entries @@ -0,0 +1,68 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/cns21xx/base-files/lib +svn://svn.openwrt.org/openwrt + + + +2010-12-30T17:19:16.126325Z +24859 +juhosg + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +cns21xx.sh +file + + + + +2013-03-17T12:12:28.000000Z +c1908b5c1eb2378692ca497506f610bf +2010-12-30T17:19:16.126325Z +24859 +juhosg +has-props + + + + + + + + + + + + + + + + + + + + +316 + +upgrade +dir + +preinit +dir + diff --git a/target/linux/cns21xx/base-files/lib/.svn/prop-base/cns21xx.sh.svn-base b/target/linux/cns21xx/base-files/lib/.svn/prop-base/cns21xx.sh.svn-base new file mode 100644 index 0000000..03b5bfa --- /dev/null +++ b/target/linux/cns21xx/base-files/lib/.svn/prop-base/cns21xx.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/cns21xx/base-files/lib/.svn/text-base/cns21xx.sh.svn-base b/target/linux/cns21xx/base-files/lib/.svn/text-base/cns21xx.sh.svn-base new file mode 100644 index 0000000..c10f6d3 --- /dev/null +++ b/target/linux/cns21xx/base-files/lib/.svn/text-base/cns21xx.sh.svn-base @@ -0,0 +1,25 @@ +#!/bin/sh +# +# Copyright (C) 2010 OpenWrt.org +# + +get_board_name() { + local hardware + local name + + hardware=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /Hardware/ {print $2}' /proc/cpuinfo) + + case "$hardware" in + *NSB3AST) + name="nsb3ast" + ;; + "NS-K330 NAS") + name="ns-k330" + ;; + *) + name="generic" + ;; + esac + + echo $name +} |