summaryrefslogtreecommitdiff
path: root/target/linux/kirkwood/base-files/lib/kirkwood.sh
blob: 4fcd7607781d3a0eccc0889c7e26314aac8c6cfc (plain)
1
2
3
4
5
#!/bin/sh

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