Fixed NetBSD init script

This commit is contained in:
Michiel Broek 2003-12-24 19:51:51 +00:00
parent fe747016d1
commit 67a32996f6

View File

@ -43,12 +43,12 @@ mbsebbs_start()
rm -f ${MBSE_ROOT}/sema/*
rm -f ${MBSE_ROOT}/var/*.LCK
rm -f ${MBSE_ROOT}/tmp/mb*
su mbse -c '${MBSE_ROOT}/bin/mbtask' >/dev/null
su mbse -c '${MBSE_ROOT}/bin/mbtask' >/dev/null 2>&1
echo -n " mbtask"
sleep 2
if [ -f ${MBSE_ROOT}/etc/config.data ]; then
su mbse -c '${MBSE_ROOT}/bin/mbstat open -quiet'
echo -n ", opened bbs"
echo ", opened bbs"
fi
else
echo " is already running"