1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[lantiq] cleanup basefiles

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34698 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic
2012-12-15 02:01:00 +00:00
parent ff7205d7e1
commit 5d8e0585ac
9 changed files with 76 additions and 89 deletions

View File

@@ -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"
}