FreeBSD update
This commit is contained in:
parent
09c514c894
commit
c070b7cac5
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user