Created dosemu script for mbse

This commit is contained in:
Michiel Broek
2004-08-11 11:06:24 +00:00
parent 7c4365d2f6
commit c76d15fb33
2 changed files with 17 additions and 2 deletions

View File

@@ -1,3 +1,18 @@
#!/bin/sh
#
# $Id$
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