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