From c070b7cac5c66449ab6aeb41ddc5dc9098f0b52e Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sat, 11 Jan 2003 22:25:47 +0000 Subject: [PATCH] FreeBSD update --- script/init.FreeBSD | 6 +++--- script/installinit.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/script/init.FreeBSD b/script/init.FreeBSD index 92360224..8556e883 100644 --- a/script/init.FreeBSD +++ b/script/init.FreeBSD @@ -35,7 +35,7 @@ case "$1" in sleep 2 if [ -f ${MBSE_ROOT}/etc/config.data ]; then su mbse -c '${MBSE_ROOT}/bin/mbstat open -quiet' - echo ", opened bbs" + echo -n ", opened bbs" fi ;; stop) @@ -43,8 +43,8 @@ case "$1" in echo -n " logoff users" su mbse -c '$MBSE_ROOT/bin/mbstat close wait -quiet' >/dev/null fi - kill -15 `pidof ${MBSE_ROOT}/bin/mbtask` - echo -n " mbtask" +# kill -15 `pidof ${MBSE_ROOT}/bin/mbtask` +# echo -n " mbtask" ;; *) echo "Usage: `basename $0` {start|stop}" >&2 diff --git a/script/installinit.sh b/script/installinit.sh index 1c3db41d..c0d8f7f7 100644 --- a/script/installinit.sh +++ b/script/installinit.sh @@ -366,7 +366,7 @@ if [ "$DISTNAME" = "FreeBSD" ]; then # # 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" log "+" "Adding $DISTNAME style MBSE BBS start/stop script" cp init.FreeBSD $DISTINIT