Advertisement
Guest User

Untitled

a guest
Apr 4th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. target/linux/lantiq/base-files/lib/lantiq.sh
  2.  
  3. #!/bin/sh
  4.  
  5. lantiq_board_id() {
  6. grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/\(.*\) - .*/\1/g"
  7. }
  8.  
  9. lantiq_board_name() {
  10. grep "^machine" /proc/cpuinfo | sed "s/machine.*: \(.*\)/\1/g" | sed "s/.* - \(.*\)/\1/g"
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement