:
# @(#)multiuser 5.3b of Jan 28, 1988
:
#
# If any argument prompt user
#
ASK=false
if [ $# = 0 ]
then
	ASK=true
fi
#
# First check if we are already Multi-User
#
set `who -r`
if [ $7 = "2" ]
then
	echo "\nThe system is already in Multi-User Mode."
	exit 1
fi
#
if [ "$ASK" = "true" ]
then
	echo "\nYou will kill all currently running processes."
	echo "Do you wish to continue? (y/n) \c"
	read answer
	case $answer in
		[yY]*)	echo  "\nEntering Multi-User Mode...\n";;
		*)	echo "multiuser: aborted."
			exit 1 ;;
	esac
fi
/etc/init 2
kill -9 0
