1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-01 04:11:52 +02:00
openwrt-xburst/target/linux/kirkwood/base-files/lib/kirkwood.sh
juhosg 3a3aa7378b kirkwood: use uci-defaults to configure different boards
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-05-29 16:39:15 +00:00

6 lines
104 B
Bash

#!/bin/sh
kirkwood_hardware_name() {
grep ^Hardware /proc/cpuinfo | sed "s/Hardware.*: \(.*\)/\1/g"
}