1 2 3 4 5 6 7 8 9 10 11 12 13 14
#/bin/sh model="`cat /proc/cpuinfo | sed -n "/Hardware/s/.*\:\ \(.*\)/\1/p"`" case $model in *Collie) par="-height 240";; *00) par="-height 240";; *) par="";; esac echo "Model: [$model]" echo "Launching prboom $par $*" prboom $par $*