#!/bin/sh
#
# /opt/mbse/etc/rc.shutdown: BBS Shutdown script for Slackware and NetBSD.
# $Id$
if [ "$MBSE_ROOT" = "" ]; then
export MBSE_ROOT=`cat /etc/passwd | grep mbse: | awk -F ':' '{ print $6}'`
fi
su mbse -c $MBSE_ROOT/bin/mbse.stop
sleep 2