1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-21 16:33:01 +02:00
openwrt-xburst/target/linux/ppc40x/base-files/lib/ppc40x.sh

12 lines
173 B
Bash
Raw Normal View History

#!/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
}