#	START NEW ARIX SCCS HEADER
#
#	@(#) singlepwr.sh: version 25.1 created on 12/2/91 at 15:49:00
#
#	Copyright (c) 1990 by Arix Corporation
#	All Rights Reserved
#
#	ident	"@(#)singlepwr.sh	25.1	12/2/91 Copyright (c) 1990 by Arix Corporation"
#
#	END NEW ARIX SCCS HEADER
#


#	Powerfail script for single user.
#	kill all processes, umount mounted file systems and sync then sleep.
#
#	The uadmin command will tell the SPM to turn off the power supply

cd /
sync
echo "All currently running processes will now be killed." &
sleep 2
/etc/killall
sync
/etc/umountall
sync
sync
/etc/uadmin 2 0 104
