echo
echo "Checking Filesystems"
/etc/fsck -p || exit 1
date -u
/bin/sidconf 0 `cat /etc/nodenumber` `/etc/scope`
>/etc/mtab
/etc/mount -a
/etc/savecore /usr/adm /dev/sd01
trap "" 1 2 3
/etc/update
rm -f /tmp/*
date >>/usr/adm/lastboot
/etc/watch -b /usr/ipc/mgrs/lrconfig /dev/cm05 /dev/cm15 &
/etc/watch -b /usr/ipc/mgrs/ipconfig -m 255.255.255.0 \
	/dev/en06 `cat /etc/whoami` 147.3.20.0 /dev/en07 &
/etc/watch -b /usr/ipc/mgrs/ipconfig -m 255.255.0.0 \
	/dev/cm26 `/etc/nodename` `/etc/nodenet` /dev/cm27&
/etc/watch -b /usr/ipc/mgrs/ipconfig -m 255.255.255.255 \
	 /dev/loopback 127.0.0.0 127.0.0.0 &
sleep 2
/etc/watch -b /usr/ipc/mgrs/udpconfig /dev/ipudp &
/etc/watch -b /usr/ipc/mgrs/tcpmgr &
sleep 2
/etc/watch -b /usr/inet/lib/tftpd &
/etc/watch -b /usr/ipc/mgrs/pep -n /dev/cm24 >/usr/tmp/pep.out 2>&1 &
/etc/watch -b /usr/ipc/mgrs/err > /usr/tmp/err.out 2>&1 &
/etc/watch -b /usr/ipc/mgrs/snm -u > /usr/tmp/snm.out 2>&1 &
/etc/watch -b /usr/ipc/mgrs/adaptd > /usr/tmp/adaptd.out 2>&1 &
/etc/watch -r usr/ipc/mgrs/rlogind > /usr/tmp/rlogind.out 2>&1 &
/etc/watch -b /usr/ipc/mgrs/eko &
/etc/watch -r usr/ipc/mgrs/smg&
/etc/watch -r usr/ipc/mgrs/usmg 1122&
/etc/watch -r usr/ipc/mgrs/usmg 1121&
/etc/watch -r usr/ipc/mgrs/usmg 1120&
/etc/watch -r usr/ipc/mgrs/ftpd&
/etc/watch -r usr/ipc/mgrs/fnd&
/etc/remroutes
case $1 in
autoboot)	/usr/stm/start &
esac
