# /etc/rc
#
# These commands are executed at boot time by init(8).
# User customization should go in /etc/rc.local.

PATH=/bin:/usr/bin:/etc

# start the update(8) sync demon
/etc/update &

# remove /etc/mtab* so that mount will create it with a root entry
/bin/rm -f /etc/nologin /etc/mtab*

# mount file systems in fstab (and create an entry for /)
# but not NFS because TCP/IP is not yet configured
/etc/mount -avt nonfs

# remove stale locks (must be done after mount -a!)
/bin/rm -f /usr/spool/locks/*

# enable swapping
/etc/swapon -a

# do any local stuff
/bin/sh /etc/rc.local

exit 0
