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/ppc40x/base-files/lib/.svn/text-base | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'target/linux/ppc40x/base-files/lib/.svn/text-base')
-rw-r--r-- | target/linux/ppc40x/base-files/lib/.svn/text-base/ppc40x.sh.svn-base | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/ppc40x/base-files/lib/.svn/text-base/ppc40x.sh.svn-base b/target/linux/ppc40x/base-files/lib/.svn/text-base/ppc40x.sh.svn-base new file mode 100644 index 0000000..8a6c487 --- /dev/null +++ b/target/linux/ppc40x/base-files/lib/.svn/text-base/ppc40x.sh.svn-base @@ -0,0 +1,11 @@ +#!/bin/sh +# +# Copyright (C) 2010 OpenWrt.org +# + +ppc40x_board_name() { + local model + + model=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /model/ {print $2}' /proc/cpuinfo) + echo $model +} |