Updates for installing dosemu
This commit is contained in:
@@ -5,7 +5,8 @@ include ../Makefile.global
|
||||
|
||||
OTHER = Makefile README maint midnight weekly monthly installinit.sh setup.mbse \
|
||||
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
|
||||
init.Slackware init.SuSE init.Gentoo hatch editor.in bbsjoerc bbsjmacsrc \
|
||||
doors.bat mbsedos
|
||||
|
||||
####################################################################################################
|
||||
|
||||
@@ -85,6 +86,8 @@ install:
|
||||
${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
|
||||
${INSTALL} -o ${OWNER} -g ${GROUP} -m 0440 doors.bat ${VARDIR}/dosemu/c
|
||||
${INSTALL} -o ${OWNER} -g ${GROUP} -m 0744 mbsedos ${BINDIR}
|
||||
@bash ./installinit.sh
|
||||
|
||||
filelist: Makefile
|
||||
|
22
script/doors.bat
Normal file
22
script/doors.bat
Normal file
@@ -0,0 +1,22 @@
|
||||
@echo off
|
||||
|
||||
rem $Id$
|
||||
|
||||
rem doors.bat started by mbsebbs when starting a door program.
|
||||
rem The first parameter must be tha name of the door, in the
|
||||
rem c:\doors directory must be a .bat file with the name of
|
||||
rem the door.
|
||||
rem If the door is named "dos" then no door is started but we
|
||||
rem stay in the dos shell. This can be used by the sysop to
|
||||
rem manually install and maintain doors. If you don't like that
|
||||
rem then comment out the next line.
|
||||
|
||||
if %1==dos goto end
|
||||
|
||||
c:
|
||||
cd \doors
|
||||
if exist %1.bat call %1 %2 %3 %4 %5 %6 %7 %8 %9
|
||||
c:\dosemu\exitemu
|
||||
|
||||
:end
|
||||
echo Welcome to the DOS (door) shell, type EXITEMU to leave.
|
3
script/mbsedos
Normal file
3
script/mbsedos
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id$
|
Reference in New Issue
Block a user