#! /bin/sh
TYPE=`uname -srv`

if 	expr "$TYPE" : "SunOS 5" >/dev/null 2>&1
	then
		echo "solaris"
elif	expr "$TYPE" : "Linux" >/dev/null 2>&1
	then
		echo "linux"
elif	expr "$TYPE" : "FreeBSD" >/dev/null 2>&1
	then
		echo "freebsd"
elif	expr "$TYPE" : "HP-UX .*10" >/dev/null 2>&1
	then
		echo "hpux"
elif	expr "$TYPE" : "HP-UX .*09" >/dev/null 2>&1
	then
		echo "hpux9"
elif	expr "$TYPE" : "AIX .*4" >/dev/null 2>&1
	then
		echo "aix"
else	echo "unknown"
fi
