#! /sbin/sh
#ident "$Revision: 1.2 $"

# unmount what we didn't in rc0.
/etc/umount -ak -b /proc,/debug > /dev/console 2>&1

#
#  xlv_shutdown gracefully shuts down all xlv volumes (except
#  a root xlv volume, if one exists). The filesystems should be
#  unmounted before the underlying xlv volumes are 'disassembled'.
#  However, xlv_shutdown does make sure this is actually the case;
#  if they are still left mounted for some reason, it doesn't 
#  shutdown the corresponding logical volume.
#

if [ -x /sbin/xlv_shutdown ]; then
	/sbin/xlv_shutdown
fi
