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/script/mbsedos

19 lines
283 B
Plaintext
Raw Normal View History

2004-08-11 10:55:56 +00:00
#!/bin/sh
#
# $Id$
2004-08-11 11:06:24 +00:00
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 in X
dosemu.bin -X -f $MBSE_ROOT/etc/dosemu/dosemu.conf
# Restore umask
umask $UMASK