openwrt/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

6 lines
104 B
Bash

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