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 touch $HOME/.dosemu/disclaimer
fi fi
# For dosemu 1.2.0 and later, create a link to the drive # For dosemu 1.2.0 and later, create a link to the drive
if [ ! -f $HOME/.dosemu/drives/c ]; then # if [ ! -f $HOME/.dosemu/drives/c ]; then
ln -s $DOSDRIVE $HOME/.dosemu/drives/c # ln -s $DOSDRIVE $HOME/.dosemu/drives
fi # fi
fi fi
fi fi

View File

@ -17,7 +17,7 @@
DOOR=`basename $0` DOOR=`basename $0`
COMMANDO="\"doors $DOOR $*\r\"" 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`" /usr/bin/sudo /usr/bin/dosemu.bin -f /opt/mbse/etc/dosemu/dosemu.conf -I "`echo -e keystroke $COMMANDO`"
reset reset
tput reset tput reset

View File

@ -17,7 +17,7 @@
DOOR=`basename $0` DOOR=`basename $0`
COMMANDO="\"doors $DOOR $*\r\"" 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 \ /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`" -I "`echo -e serial { com 1 virtual }"\n" keystroke $COMMANDO`"
reset reset