mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-08-22 01:47:07 +03:00
Cc: backfire@openwrt.org git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20821 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
173 B
Bash
Executable File
12 lines
173 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Copyright (C) 2010 OpenWrt.org
|
|
#
|
|
|
|
ppc40x_board_name() {
|
|
local model
|
|
|
|
model=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /model/ {print $2}' /proc/cpuinfo)
|
|
echo $model
|
|
}
|