1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 19:56:15 +02:00
openwrt-xburst/target/linux/ppc40x/base-files/lib/ppc40x.sh
juhosg a69ff27495 ppc40x: add sysupgrade support (backport of r20821)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 12:58:50 +00:00

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
}