mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 06:57:57 +00:00
12 lines
173 B
Bash
12 lines
173 B
Bash
|
#!/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
|
||
|
}
|