cleanup basefiles
SVN-Revision: 34698
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