summaryrefslogtreecommitdiff
path: root/packages/prboom/files/prboom.sh
blob: 0bc43baa45f4333cbb5897ccc8cfdccbbb68f5ea (plain)
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 $*