Moved semafore directory to ~/var/sema

This commit is contained in:
Michiel Broek
2004-09-14 20:37:57 +00:00
parent d9c5d0eb54
commit eb1e9a6fe9
21 changed files with 46 additions and 37 deletions

View File

@@ -62,7 +62,6 @@ layout looks like this:<br>
/opt/mbse/italian/menus 0750 Italian menu files
/opt/mbse/italian/txtfiles 0770 Italian ANSI files
/opt/mbse/log 0770 MBSE BBS logfiles
/opt/mbse/sema 0777 Semafore files
/opt/mbse/share/doc 0750 Generated sitedocs
/opt/mbse/share/doc/html 0750 Generated html sitedocs
/opt/mbse/share/doc/tags 0750 Generated area tags
@@ -88,6 +87,7 @@ layout looks like this:<br>
/opt/mbse/var/queue 0750 Queue for before outbound
/opt/mbse/var/rules 0770 Echomail area rules files
/opt/mbse/var/run 0770 Pid files of running programs
/opt/mbse/var/sema 0777 Semafore files
/opt/mbse/var/ticqueue 0750 Queue for TIC files
/opt/mbse/var/unknown 0750 Unprotected inbound directory
</pre>

View File

@@ -174,7 +174,7 @@ something to send. For example like this:
<pre>
ln -s /opt/mbse/var/msgs /opt/mbse/var/dosemu/c/msgs
ln -s /opt/mbse/var/boxes/node92_100_60 /opt/mbse/var/dosemu/c/outbox
ln -s /opt/mbse/sema /opt/mbse/var/dosemu/c/sema
ln -s /opt/mbse/var/sema /opt/mbse/var/dosemu/c/sema
</pre>
In dos you now have:
<pre>

View File

@@ -16,7 +16,7 @@
<body>
<blockquote>
<div align="Center"><h1>MBSE BBS FAQ and Howto.</h1></div>
<div align="Right"><h5>Last updated 11-Aug-2004</h5></div>
<div align="Right"><h5>Last updated 14-Sep-2004</h5></div>
<pre>
Authors: P.E. Kimble aka King Kimerud kimerud@bayhaus.org
@@ -570,7 +570,7 @@ do
i=60;
while let 'i &gt; 0' &amp;&amp; let 'connect == 0'
do
if [ -f $MBSE_ROOT/sema/is_inet ]; then
if [ -f $MBSE_ROOT/var/sema/is_inet ]; then
connect=1
echo "mbtask detected internet" | $LOGGER
fi
@@ -580,7 +580,7 @@ do
#
# Check if we have a connection
#
if [ ! -f $MBSE_ROOT/sema/is_inet ]; then
if [ ! -f $MBSE_ROOT/var/sema/is_inet ]; then
echo "Failed, 10 seconds pause ..." | $LOGGER
sleep 10
fi
@@ -598,7 +598,7 @@ $MBSE_ROOT/bin/mbout poll f5003.n280.z2 f19.n280.z2 -quiet
i=25;
while let 'i &gt; 0'
do
if [ -f $MBSE_ROOT/sema/do_inet ]; then
if [ -f $MBSE_ROOT/var/sema/do_inet ]; then
i=0;
else
let i=i-1;
@@ -614,7 +614,7 @@ done
i=3600;
while let 'i &gt; 0'
do
if [ ! -f $MBSE_ROOT/sema/do_inet ]; then
if [ ! -f $MBSE_ROOT/var/sema/do_inet ]; then
i=0;
else
let i=i-1;

View File

@@ -14,11 +14,11 @@
</HEAD>
<BODY>
<BLOCKQUOTE>
<div align='right'><h5>Last update 21-Feb-2002</h5></div>
<div align='right'><h5>Last update 14-Sep-2004</h5></div>
<div align='center'><H1>Semafore files with MBSE BBS.</H1></div>
The directory $MBSE_ROOT/sema is the hardcoded semafore directory where all
The directory $MBSE_ROOT/var/sema is the hardcoded semafore directory where all
semafore's must be created, tested and removed. When the system is booting,
the init script will erase all semafore's just before the BBS is started.
This description is valid from MBSE BBS v0.33.19 and newer.