#!/bin/sh
exec > /dev/console 2>&1

PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:.; export PATH
trap "" 1
cd /

for j in /etc/rc0.d/rc[0-9][0-9][0-9].*
do
    if [ -f $j ]
    then
        sh $j
    fi
done

umount -a 2>/dev/null
sync
sleep 2

if [ -f /usr/bin/beep ]
then
    beep 750 120 500 120
else    
    echo -e '\007\c'
fi    
