16 lines
314 B
Bash
16 lines
314 B
Bash
#!/bin/sh
|
|
#
|
|
# $MBSE_ROOT/etc/rc: BBS Startup script for old Slackware, FreeBSD and NetBSD
|
|
#
|
|
# $Id$
|
|
|
|
# Remove stale tempfiles from cron.
|
|
rm -f /tmp/cron.mbse.*
|
|
|
|
if [ "$MBSE_ROOT" = "" ]; then
|
|
export MBSE_ROOT=`cat /etc/passwd | grep mbse: | awk -F ':' '{ print $6}'`
|
|
fi
|
|
|
|
su - mbse -c $MBSE_ROOT/bin/mbse.start
|
|
|