:
# @(#)rc2 5.3b of Jan 28, 1988
:
#	"Run Commands" executed when the system is changing to init state 2,
#	traditionally called "multi-user".

if [ -r /etc/TIMEZONE ]
then . /etc/TIMEZONE
else TZ=PDT8PST
fi
export TZ
if [ -d /etc/rc2.d ]
then
	set `who -r`
	if [ "$9" = S ]
	then
		echo \\nEntering Multi-user mode...\\n
	fi
	for f in /etc/rc2.d/K*
	{
		if [ -s ${f} ]
		then
			/bin/sh ${f} stop
		fi
	}

	for f in /etc/rc2.d/S*
	{
		if [ -s ${f} ]
		then
			/bin/sh ${f} start
		fi
	}
	if [ "$9" = 3 ]; then # only if we were running RFS
		echo Run level 2 processing completed 
	fi
fi
