15 lines
267 B
Bash
15 lines
267 B
Bash
#!/bin/sh
|
|
#
|
|
# /opt/mbse/etc/rc.shutdown: BBS Shutdown script for Slackware and FreeBSD
|
|
#
|
|
# 13-Aug-2001
|
|
|
|
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
|
|
#
|