openwrtv3/target/linux/kirkwood/base-files/lib/kirkwood.sh
Gabor Juhos ba3ad24514 kirkwood: use uci-defaults to configure different boards
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 31990
2012-05-29 16:39:15 +00:00

5 lines
104 B
Bash

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