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
|
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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user