:
#	@(#) smmck.sh 23.4 91/10/28 
#
#	Copyright (C) 1989-1991 The Santa Cruz Operation, Inc.
#		All Rights Reserved.
#	The information in this file is provided for the exclusive use of
#	the licensees of The Santa Cruz Operation, Inc.  Such users have the
#	right to use, modify, and incorporate this code into other products
#	for purposes authorized by the license agreement provided they include
#	this notice and the associated copyright notice with any such product.
#	The information in this file is provided "AS IS" without warranty.
#
# Begin SCO_C2TCB

# check if tcb files are required
if /bin/grep "^TCBFILES=OFF" /etc/default/security >/dev/null 2>&1
then
 	required="NO"
else
 	required="YES"
fi

/etc/tcbck || echo "$0: restore missing files from backup or distribution."

[ "X$required" = "XNO" ] && exit 0

[ ! -s /etc/auth/system/ttys ] && {
	echo "$0: /etc/auth/system/ttys is missing or zero length, 
	either enter single user mode and restore it from a backup or
	let the system rebuild a skeleton version from /etc/inittab
	during multiuser mode startup"
}
# End SCO_C2TCB

