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:
9
target/linux/lantiq/base-files/lib/functions/lantiq.sh
Normal file
9
target/linux/lantiq/base-files/lib/functions/lantiq.sh
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user