This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/saved-mbsebbs-code-2/script/mbsedos
vbcoen 6a6a253885 Updated mbmon.c & mbsetup.c
Added doc dir. and manual as .pdf
restored deleted files - yep I screwed the pooch.
2015-11-03 20:41:11 +00:00

23 lines
419 B
Bash

#!/bin/sh
#
# $Id: mbsedos,v 1.3 2004/08/11 11:11:41 mbse Exp $
if [ "`whoami`" != "mbse" ]; then
echo "Only user 'mbse' is allowed"
exit 1
fi
# Save initial umask and set group read/write for dos
UMASK=`umask`
umask 007
# Run DOS
if [ "$TERM" == "linux" ]; then
dosemu.bin -f $MBSE_ROOT/etc/dosemu/dosemu.conf
else
dosemu.bin -X -f $MBSE_ROOT/etc/dosemu/dosemu.conf
fi
# Restore umask
umask $UMASK