FreeBSD update

This commit is contained in:
Michiel Broek 2003-01-11 22:25:47 +00:00
parent 09c514c894
commit c070b7cac5
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ case "$1" in
sleep 2 sleep 2
if [ -f ${MBSE_ROOT}/etc/config.data ]; then if [ -f ${MBSE_ROOT}/etc/config.data ]; then
su mbse -c '${MBSE_ROOT}/bin/mbstat open -quiet' su mbse -c '${MBSE_ROOT}/bin/mbstat open -quiet'
echo ", opened bbs" echo -n ", opened bbs"
fi fi
;; ;;
stop) stop)
@ -43,8 +43,8 @@ case "$1" in
echo -n " logoff users" echo -n " logoff users"
su mbse -c '$MBSE_ROOT/bin/mbstat close wait -quiet' >/dev/null su mbse -c '$MBSE_ROOT/bin/mbstat close wait -quiet' >/dev/null
fi fi
kill -15 `pidof ${MBSE_ROOT}/bin/mbtask` # kill -15 `pidof ${MBSE_ROOT}/bin/mbtask`
echo -n " mbtask" # echo -n " mbtask"
;; ;;
*) *)
echo "Usage: `basename $0` {start|stop}" >&2 echo "Usage: `basename $0` {start|stop}" >&2

View File

@ -366,7 +366,7 @@ if [ "$DISTNAME" = "FreeBSD" ]; then
# #
# FreeBSD init # FreeBSD init
# #
DISTINIT="/usr/local/etc/rc.d/mbse" DISTINIT="/usr/local/etc/rc.d/mbse.sh"
echo "Adding $DISTNAME style MBSE BBS start/stop script" echo "Adding $DISTNAME style MBSE BBS start/stop script"
log "+" "Adding $DISTNAME style MBSE BBS start/stop script" log "+" "Adding $DISTNAME style MBSE BBS start/stop script"
cp init.FreeBSD $DISTINIT cp init.FreeBSD $DISTINIT