#!/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
#

/bin/date
if [ -f /etc/single ] ; then
	rm /etc/single
	echo "Multiuser reboot in progress ..."
else
	echo "Automatic reboot in progress ..."
fi

# Clear the /tmp directory.

/bin/rm /tmp/* >& /dev/null ; 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 [ -f /usr/lib/update ] ; then
	( /usr/lib/update & ) >& /dev/null ; echo -n " update"
fi

echo "."

/bin/sh /etc/rc.local

/bin/date

exit
