This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
deb-mbse/script/rc

16 lines
314 B
Plaintext
Raw Normal View History

2001-08-17 05:46:24 +00:00
#!/bin/sh
#
2002-02-04 15:18:06 +00:00
# $MBSE_ROOT/etc/rc: BBS Startup script for old Slackware, FreeBSD and NetBSD
2001-08-17 05:46:24 +00:00
#
2002-02-04 15:18:06 +00:00
# $Id$
2001-08-17 05:46:24 +00:00
# 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