#!/bin/sh
# This is run at multi-user startup.
#
# Edit it to suit your taste.
#
# Really, some of this stuff should be in rc.local which should be called
# from this script.
#
# S.R.Usher 29/12/91
#
PATH=/bin:/usr/ucb:/usr/bin ; export PATH
#
# Path is set relative to U:/, so ensure we are on U:
#
cd U:/
#
/bin/date
if test -f /etc/single  ; then
	/bin/rm /etc/single
	echo "Multiuser reboot in progress..."
else
	echo "Automatic reboot in progress..."
fi
# Clear the /tmp directory.

/bin/rm /tmp/* > /dev/null 2>&1 ; echo "clearing /tmp"

echo -n "standard daemons:"

# Start up the update daemon. (This may be useful if there are any file systems
# which may need sync()ing in the future. You never know, someone might write
# one!)

if test -f /usr/lib/update  ; then
	/usr/lib/update > /dev/null 2>&1 &
	echo -n " update"
fi

if test -f /etc/cron ; then
	/etc/cron > /dev/null 2>&1 &
	echo -n " cron"
fi

echo "."

/bin/sh /etc/rc.lo*
 
#/bin/date

exit
