From 832c92fdf8e3db20c379d5f427d0b183207fc16b Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Mon, 9 Aug 2004 21:30:30 +0000 Subject: [PATCH] The bbsdoor.sh script now runs as user --- script/bbsdoor.sh | 6 +++--- script/rundoor.sh | 2 +- script/runvirtual.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/script/bbsdoor.sh b/script/bbsdoor.sh index eee5f05a..02695b5f 100644 --- a/script/bbsdoor.sh +++ b/script/bbsdoor.sh @@ -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 diff --git a/script/rundoor.sh b/script/rundoor.sh index 11e35d83..cd0deadf 100644 --- a/script/rundoor.sh +++ b/script/rundoor.sh @@ -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 diff --git a/script/runvirtual.sh b/script/runvirtual.sh index 4eec72db..b16bb691 100644 --- a/script/runvirtual.sh +++ b/script/runvirtual.sh @@ -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