1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-27 07:03:54 +02:00
openwrt-xburst/target/linux/ppc40x/base-files/lib/ppc40x.sh
juhosg 933921a3b1 ppc40x: add sysupgrade support
Cc: backfire@openwrt.org


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20821 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-12 12:21:18 +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
}