mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
ppc40x: add sysupgrade support (backport of r20821)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20825 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
11
target/linux/ppc40x/base-files/lib/ppc40x.sh
Executable file
11
target/linux/ppc40x/base-files/lib/ppc40x.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user