TIP: Click on subject to list as thread! ANSI
echo: elebbs_support
to: All
from: Michael Preslar
date: 2006-06-07 20:17:48
subject: RE: EleBBS: Linux Execute Script

* EleBBS Support List

>OPPS
>looks like I introduced a bug when I converted it over to user
>variable instead of being hardcoded for my bbs.
>
>it should actually be
> cp $NODEDIR$1 $DOSEMUDIR/node$1 -R


Woot! Knew that shell scripting knowledge would come in handy some day.
:D

HEY PCM: This would be a good one for the EleBBS FAQ!


>> Im thinking multinode compatibility. I could be way wrong here
because I
>> don't know if DOSEMU requires a certain directory preconfigured or
not..
>
>DOSEMU uses a shared directory. just like a normal dos machine.  All
>multi-user applications MUST be handled by the dos program.  This can
>lead to problems with some programs that are non-bbs based programs.
>If more then one user access's them simultaniously.  So far I have not
>run into any programs with problems.  However when/if I do, I will
>write in a lock routine that will only allow 1 person at a time in
>program. Otherwise the script would have to keep track of X number of
>copies of data this will cause proglems with scores and maps in games.

Just an idea..

You have /bbs/doors/zork .. Which contains all the files needed for it
to run.

Then you do a mkdir /bbs/doors/zork-node$1

Then a: cp /bbs/doors/zork/* /bbs/doors/zork-node$1

Then run it that way.. Or instead of $1 use: mkdir "/bbs/doors/zork-$3"

And then run from your temp dir, cleaning it up after its ran?

_______________________________________________________________


--- Internet Rex 2.29
* Origin: The gateway at The Snake (2:280/4312.101)
SEEN-BY: 633/267 270
@PATH: 280/4312 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.