openwrtv3/target/linux/kirkwood/base-files/lib/kirkwood.sh

6 lines
104 B
Bash
Raw Normal View History

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