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/lantiq/base-files/lib/functions/.svn | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/lantiq/base-files/lib/functions/.svn')
-rw-r--r-- | target/linux/lantiq/base-files/lib/functions/.svn/entries | 62 | ||||
-rw-r--r-- | target/linux/lantiq/base-files/lib/functions/.svn/text-base/lantiq.sh.svn-base | 9 |
2 files changed, 71 insertions, 0 deletions
diff --git a/target/linux/lantiq/base-files/lib/functions/.svn/entries b/target/linux/lantiq/base-files/lib/functions/.svn/entries new file mode 100644 index 0000000..e01aeb4 --- /dev/null +++ b/target/linux/lantiq/base-files/lib/functions/.svn/entries @@ -0,0 +1,62 @@ +10 + +dir +36060 +svn://svn.openwrt.org/openwrt/trunk/target/linux/lantiq/base-files/lib/functions +svn://svn.openwrt.org/openwrt + + + +2012-12-15T02:01:00.513352Z +34698 +blogic + + + + + + + + + + + + + + +3c298f89-4303-0410-b956-a3cf2f4a3e73 + +lantiq.sh +file + + + + +2013-03-17T12:12:42.000000Z +f66c7a4a5807aafb8d4f980293cbc3e0 +2012-12-15T02:01:00.513352Z +34698 +blogic + + + + + + + + + + + + + + + + + + + + + +261 + diff --git a/target/linux/lantiq/base-files/lib/functions/.svn/text-base/lantiq.sh.svn-base b/target/linux/lantiq/base-files/lib/functions/.svn/text-base/lantiq.sh.svn-base new file mode 100644 index 0000000..ca52d08 --- /dev/null +++ b/target/linux/lantiq/base-files/lib/functions/.svn/text-base/lantiq.sh.svn-base @@ -0,0 +1,9 @@ +#!/bin/sh + +lantiq_board_id() { + grep "^system type" /proc/cpuinfo | sed "s/system type.*: \(.*\)/\1/g" | sed "s/.* - \(.*\) - .*/\1/g" +} + +lantiq_board_name() { + grep "^system type" /proc/cpuinfo | sed "s/system type.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g" +} |