mbstat [commands] <options>
mbstat changes the BBS' status between open (accepting callers) and closed (not accepting callers). mbstat can wait for all users to logoff and wait for critical utilities to stop before closing the BBS.
mbstat close
will close the BBS for users:mbstat open
opens the BBS for users. Normally, this should be run from one of the system startup scripts right after you started
mbsed. If you need to manually close the BBS, make sure to run this command when you are finished working on the BBS.mbstat wait
will wait for the BBS to become free. This includes a check for utilities that perform critical actions so they can finish their job without corrupting the BBS'
databases. The default is to wait 60 minutes. If the semaphore upsdown exists, it will wait only 30 seconds. You should run mbstat close wait in your system shutdown script so
that the system shutdown will wait for a clean shutdown of the BBS before the rest of your system goes down. If you installed MBSE normally, these commands are already
installed in your system shutdown scripts.
mbstat [command] -quiet
will supress screen output.
This is good for using mbstat in scripts.