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.shutdown
2003-01-11 21:46:27 +00:00

15 lines
260 B
Bash

#!/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
#