:
# SCCSID(@(#)dosboot.sh	1.8 LCC) Modified 17:09:03 11/29/90
#
# UNIX shell script to boot a DOS from the floppy in drive "A".

echo "$*" | grep "+l" >/dev/null 2>&1
if [ $? -eq 0 ]
then
	LIBM=${LIBM:-/usr/lib/merge}
	# The script "set_nls.sh" sets MFILE
	. $LIBM/set_nls.sh
	# DM is the domain for messages for this script.
	DM="LCC.MERGE.UNIX.DOSBOOT"
	lmfmsg $MFILE $DM.ERR1 $0 >/dev/null 2>&1
	if [ $? -eq 0 ]
	then
		lmfmsg $MFILE $DM.ERR1 $0
	else
		echo "ERROR: Cannot use the \"+l\" option with $0."
	fi
	exit 1
fi
exec /bin/dos -e -l $*
