diff options
Diffstat (limited to 'target/linux/cns3xxx/base-files/lib/.svn')
-rw-r--r-- | target/linux/cns3xxx/base-files/lib/.svn/entries | 65 | ||||
-rw-r--r-- | target/linux/cns3xxx/base-files/lib/.svn/text-base/cns3xxx.sh.svn-base | 22 |
2 files changed, 87 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/base-files/lib/.svn/entries b/target/linux/cns3xxx/base-files/lib/.svn/entries new file mode 100644 index 0000000..c18383c --- /dev/null +++ b/target/linux/cns3xxx/base-files/lib/.svn/entries @@ -0,0 +1,65 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/cns3xxx/base-files/lib +svn://svn.openwrt.org/openwrt + + + +2012-11-07T23:12:06.522923Z +34113 +luka + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +upgrade +dir + +cns3xxx.sh +file + + + + +2013-03-17T12:13:04.000000Z +f41265a6e5e36f07eb78725277815095 +2012-11-07T23:12:06.522923Z +34113 +luka + + + + + + + + + + + + + + + + + + + + + +309 + diff --git a/target/linux/cns3xxx/base-files/lib/.svn/text-base/cns3xxx.sh.svn-base b/target/linux/cns3xxx/base-files/lib/.svn/text-base/cns3xxx.sh.svn-base new file mode 100644 index 0000000..476f9be --- /dev/null +++ b/target/linux/cns3xxx/base-files/lib/.svn/text-base/cns3xxx.sh.svn-base @@ -0,0 +1,22 @@ +#!/bin/sh +# +# Copyright (C) 2012 OpenWrt.org +# + +cns3xxx_board_name() { + local machine + local name + + machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /Hardware/ {print $2}' /proc/cpuinfo) + + case "$machine" in + "Gateworks Corporation Laguna"*) + name="laguna" + ;; + *) + name="generic"; + ;; + esac + + echo $name +} |