numcpus=$(grep "^0x00$" /sys/bus/parisc/devices/*/hw_type 2>/dev/null | wc -l)
if [ $numcpus -gt 1 ]; then
	echo $numcpus >/var/numcpus
else
	echo 1 >/var/numcpus
fi
unset numcpus
