:
#	@(#) reserved.sh 22.1 89/11/14 
#
#	Copyright (C) The Santa Cruz Operation, 1988.
#	This Module contains Proprietary Information of
#	The Santa Cruz Operation, Microsoft Corporation
#	and AT&T, and should be treated as Confidential.
#
#	/etc/rc.d/9/reserved - System reserved commands after normal boot
#
recover=/dev/recover
recsize=10k
mail=/usr/bin/mail

[ "$AUTOFLAG" = -a ] && {
	# save fsck output and zero entire recover device
	if [ -b "$recover" ]
	then
		dd if=$recover bs=$recsize count=1 2> /dev/null |tr >> $BOOTLOG
		echo "\000\c" |dd of=$recover bs=$recsize conv=sync 2> /dev/null
		[ -x $mail ] && {
			su root -c "$mail -s 'Auto Boot Log' root < $BOOTLOG"
			rm -f $BOOTLOG
		}
	fi
}
