mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-09 08:20:39 +00:00
185965e128
Cc: backfire@openwrt.org SVN-Revision: 20821
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
|
|
}
|