ppc40x.sh 173 B

1234567891011
  1. #!/bin/sh
  2. #
  3. # Copyright (C) 2010 OpenWrt.org
  4. #
  5. ppc40x_board_name() {
  6. local model
  7. model=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /model/ {print $2}' /proc/cpuinfo)
  8. echo $model
  9. }