Small FreeBSD fixes
This commit is contained in:
parent
2d417964d6
commit
8eafac306b
11
CRON.sh
11
CRON.sh
@ -51,18 +51,11 @@ cat << EOF
|
|||||||
There is a example at the bottom of the crontab which is commented
|
There is a example at the bottom of the crontab which is commented
|
||||||
out of course.
|
out of course.
|
||||||
|
|
||||||
IMPORTANT: the first crontab entry is to set the Zone Mail Hour.
|
|
||||||
This entry is set for Holland, Amsterdam. ZMH is 02:30 - 03:30 UTC
|
|
||||||
for zone 2. CET is one hour plus in wintertime and two hours plus
|
|
||||||
in summertime. If you run "mbstat check" at each possible begin
|
|
||||||
and end of ZMH you must run it at 03:30, 04:30 and 05:30 local CET.
|
|
||||||
You must calculate and set the times for your own timezone and own
|
|
||||||
Fidonet Zone Mail Hour.
|
|
||||||
|
|
||||||
On most systems you can edit the crontab by typing "crontab -e".
|
On most systems you can edit the crontab by typing "crontab -e".
|
||||||
|
|
||||||
Hit Return to continue or Control-C to abort.
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
echo -n "Hit Return to continue or Control-C to abort: "
|
||||||
read junk
|
read junk
|
||||||
|
|
||||||
echo "Installing MBSE BBS crontab..."
|
echo "Installing MBSE BBS crontab..."
|
||||||
|
@ -84,6 +84,10 @@ v0.37.00 26-Dec-2002.
|
|||||||
SETUP.sh
|
SETUP.sh
|
||||||
Made the script more portable.
|
Made the script more portable.
|
||||||
|
|
||||||
|
CRON.sh
|
||||||
|
Removed explanation about Zone Mail Hour, this is obsolete
|
||||||
|
for a long time already.
|
||||||
|
|
||||||
|
|
||||||
v0.36.00 26-Dec-2002 - stable release
|
v0.36.00 26-Dec-2002 - stable release
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
<BODY>
|
<BODY>
|
||||||
<BLOCKQUOTE>
|
<BLOCKQUOTE>
|
||||||
<div align="right"><h5>Last update 28-Sep-2002</h5></div>
|
<div align="right"><h5>Last update 12-Jan-2003</h5></div>
|
||||||
|
|
||||||
<div align="center"><h1>MBSE BBS Basic Installation</h1></div>
|
<div align="center"><h1>MBSE BBS Basic Installation</h1></div>
|
||||||
|
|
||||||
@ -83,8 +83,10 @@ this error.
|
|||||||
|
|
||||||
<h3>Step 2: Running the installation script.</h3>
|
<h3>Step 2: Running the installation script.</h3>
|
||||||
<p>
|
<p>
|
||||||
|
First, if you use FreeBSD, install the psmisc package. This will make sure
|
||||||
|
that MBSE BBS is stopped properly if you shutdown your computer.<br>
|
||||||
If you are upgrading, proceed with step 4. If not, follow the next steps
|
If you are upgrading, proceed with step 4. If not, follow the next steps
|
||||||
very carefully!
|
very carefully!<br>
|
||||||
The installation script must be run by root. It checks if there is a
|
The installation script must be run by root. It checks if there is a
|
||||||
previous or failed installation on your system. If that's so the script will
|
previous or failed installation on your system. If that's so the script will
|
||||||
not run. In other words, you can only run this script once. The script makes
|
not run. In other words, you can only run this script once. The script makes
|
||||||
|
@ -43,8 +43,8 @@ case "$1" in
|
|||||||
echo -n " logoff users"
|
echo -n " logoff users"
|
||||||
su mbse -c '$MBSE_ROOT/bin/mbstat close wait -quiet' >/dev/null
|
su mbse -c '$MBSE_ROOT/bin/mbstat close wait -quiet' >/dev/null
|
||||||
fi
|
fi
|
||||||
# kill -15 `pidof ${MBSE_ROOT}/bin/mbtask`
|
kill -15 `pidof ${MBSE_ROOT}/bin/mbtask`
|
||||||
# echo -n " mbtask"
|
echo -n " mbtask"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage: `basename $0` {start|stop}" >&2
|
echo "Usage: `basename $0` {start|stop}" >&2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# BBS Startup script, should be run as BBS owner.
|
# BBS Startup script, should be run as BBS owner.
|
||||||
# Note: This is only used on Slackware systems until 7.0.0, FreeBSD and NetBSD.
|
# Note: This is only used on Slackware systems until 7.0.0 and NetBSD.
|
||||||
#
|
#
|
||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#
|
#
|
||||||
# BBS Shutdown script, should be run as BBS owner.
|
# BBS Shutdown script, should be run as BBS owner.
|
||||||
# Note: this is only used on old Slackware, FreeBSD and NetBSD systems.
|
# Note: this is only used on old Slackware and NetBSD systems.
|
||||||
#
|
#
|
||||||
# On FreeBSD it needs the psmisc package.
|
# On FreeBSD it needs the psmisc package.
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user