The bbsdoor.sh script now runs as user
This commit is contained in:
parent
7f9e44a4c0
commit
832c92fdf8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user