#!/sbin/sh -
# @(#)src/unix/pagecache/sol/common/cmd/qlog/qlogboot/qlog-startup.sh	3.2.59.1 01/29/03 10:44:50
#ident "@(#)vxfs:src/unix/pagecache/sol/common/cmd/qlog/qlogboot/qlog-startup.sh	3.2.59.1"
#
# (c) Copyright 1991-2003 VERITAS Software Corporation. All rights reserved.
#

# Patent pending
#
 
PATH=/opt/VRTSvxfs/sbin:/etc/fs/vxfs:$PATH

LC_ALL=C
export LC_ALL
qlogrec -s
qlogck
ret=$?

if [ $ret -gt 0 ];
then
	echo "
The QuickLog routine 'qlogck' encountered the errors mentioned above. It is
recommended that you enter the maintenance shell and attempt to correct
these problems. Once all possible corrections have been made, enter
Control-d to exit the maintenance shell, and initialization will resume.
See qlogck(1M) for assistance.
"
	/sbin/sulogin < /dev/console
	echo
	echo "Resuming initialization"
	echo
	qlogck -f
fi

qlogattach -ar

exit 0
