1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-20 22:48:10 +02:00
openwrt/target/linux/ppc40x/base-files/lib/ppc40x.sh
Gabor Juhos 185965e128 ppc40x: add sysupgrade support
Cc: backfire@openwrt.org

SVN-Revision: 20821
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
}