The bbsdoor.sh script now runs as user

This commit is contained in:
Michiel Broek 2004-08-09 21:30:30 +00:00
parent 7f9e44a4c0
commit 832c92fdf8
3 changed files with 5 additions and 5 deletions

View File

@ -29,8 +29,8 @@ if [ "$1" != "" ]; then
touch $HOME/.dosemu/disclaimer
fi
# For dosemu 1.2.0 and later, create a link to the drive
if [ ! -f $HOME/.dosemu/drives/c ]; then
ln -s $DOSDRIVE $HOME/.dosemu/drives/c
fi
# if [ ! -f $HOME/.dosemu/drives/c ]; then
# ln -s $DOSDRIVE $HOME/.dosemu/drives
# fi
fi
fi

View File

@ -17,7 +17,7 @@
DOOR=`basename $0`
COMMANDO="\"doors $DOOR $*\r\""
/usr/bin/sudo /opt/mbse/bin/bbsdoor.sh $DOOR $1
/opt/mbse/bin/bbsdoor.sh $DOOR $1
/usr/bin/sudo /usr/bin/dosemu.bin -f /opt/mbse/etc/dosemu/dosemu.conf -I "`echo -e keystroke $COMMANDO`"
reset
tput reset

View File

@ -17,7 +17,7 @@
DOOR=`basename $0`
COMMANDO="\"doors $DOOR $*\r\""
/usr/bin/sudo /opt/mbse/bin/bbsdoor.sh $DOOR $1
/opt/mbse/bin/bbsdoor.sh $DOOR $1
/usr/bin/sudo /opt/dosemu/bin/dosemu.bin -f /opt/mbse/etc/dosemu/dosemu.conf \
-I "`echo -e serial { com 1 virtual }"\n" keystroke $COMMANDO`"
reset