Updated for new dosemu locations
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
include ../Makefile.global
|
||||
|
||||
OTHER = Makefile README maint midnight weekly monthly installinit.sh setup.mbse \
|
||||
bbsdoor.sh rundoor.sh init.Debian init.RedHat init.FreeBSD init.NetBSD \
|
||||
bbsdoor.sh rundoor.sh runvirtual.sh init.Debian init.RedHat init.FreeBSD init.NetBSD \
|
||||
init.Slackware init.SuSE init.Gentoo hatch editor.in bbsjoerc bbsjmacsrc
|
||||
|
||||
####################################################################################################
|
||||
@@ -75,11 +75,15 @@ install:
|
||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 bbsdoor.sh ${BINDIR}" ; \
|
||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 rundoor.sh ${BINDIR} ; \
|
||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 rundoor.sh ${BINDIR}" ; \
|
||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 runvirtual.sh ${BINDIR} ; \
|
||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0755 runvirtual.sh ${BINDIR}" ; \
|
||||
else \
|
||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 bbsdoor.sh ${BINDIR}/bbsdoor.sh.new ; \
|
||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 bbsdoor.sh ${BINDIR}/bbsdoor.sh.new" ; \
|
||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 rundoor.sh ${BINDIR}/rundoor.sh.new ; \
|
||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 rundoor.sh ${BINDIR}/rundoor.sh.new" ; \
|
||||
${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 runvirtual.sh ${BINDIR}/runvirtual.sh.new ; \
|
||||
echo "${INSTALL} -c -o ${OWNER} -g ${GROUP} -m 0644 runvirtual.sh ${BINDIR}/runvirtual.sh.new" ; \
|
||||
fi
|
||||
@bash ./installinit.sh
|
||||
|
||||
|
@@ -7,8 +7,9 @@
|
||||
# $2 = the nodenumber for this session
|
||||
#
|
||||
# by Redy Rodriguez, 22-Oct-2001
|
||||
# Revised for dosemu 1.2.0 by Michiel Broek.
|
||||
|
||||
DOSDRIVE=/dos/c
|
||||
DOSDRIVE=/opt/mbse/var/dosemu/c
|
||||
|
||||
if [ "$1" != "" ]; then
|
||||
if [ "$2" != "" ]; then
|
||||
|
@@ -4,19 +4,21 @@
|
||||
#
|
||||
# rundoor.sh - Never call this script directly, create a symlink
|
||||
# to this file with the name of the door. For example
|
||||
# tu run the door ilord do:
|
||||
# to run the door ilord do:
|
||||
# cd /opt/mbse/bin
|
||||
# ln -s rundoor.sh ilord
|
||||
# In the menu use the following line for Optional Data:
|
||||
# /opt/mbse/bin/ilord /N
|
||||
#
|
||||
# This version DOES NOT have virtual COMport support, see runvirtual.sh
|
||||
#
|
||||
# by Redy Rodriguez and Michiel Broek.
|
||||
#
|
||||
DOOR=`basename $0`
|
||||
COMMANDO="\" doors $DOOR $*\r\""
|
||||
COMMANDO="\"doors $DOOR $*\r\""
|
||||
|
||||
/usr/bin/sudo /opt/mbse/bin/bbsdoor.sh $DOOR $1
|
||||
/usr/bin/sudo /opt/dosemu/bin/dosemu.bin \
|
||||
-F /var/lib/dosemu/global.conf \
|
||||
-I "`echo -e serial { com 1 virtual }"\n" keystroke $COMMANDO`"
|
||||
/usr/bin/sudo /usr/bin/dosemu.bin -f /opt/mbse/etc/dosemu/dosemu.conf -I "`echo -e keystroke $COMMANDO`"
|
||||
reset
|
||||
tput reset
|
||||
stty sane
|
||||
|
25
script/runvirtual.sh
Normal file
25
script/runvirtual.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# $Id$
|
||||
#
|
||||
# runvirtual.sh - Never call this script directly, create a symlink
|
||||
# to this file with the name of the door. For example
|
||||
# tu run the door ilord do:
|
||||
# cd /opt/mbse/bin
|
||||
# ln -s runvirtual.sh ilord
|
||||
# In the menu use the following line for Optional Data:
|
||||
# /opt/mbse/bin/ilord /N
|
||||
#
|
||||
# This version support a virtual COMport, needed by some doors.
|
||||
#
|
||||
# by Redy Rodriguez and Michiel Broek.
|
||||
#
|
||||
DOOR=`basename $0`
|
||||
COMMANDO="\"doors $DOOR $*\r\""
|
||||
|
||||
/usr/bin/sudo /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
|
||||
tput reset
|
||||
stty sane
|
Reference in New Issue
Block a user