Fixed NetBSD init script
This commit is contained in:
parent
fe747016d1
commit
67a32996f6
@ -43,12 +43,12 @@ mbsebbs_start()
|
|||||||
rm -f ${MBSE_ROOT}/sema/*
|
rm -f ${MBSE_ROOT}/sema/*
|
||||||
rm -f ${MBSE_ROOT}/var/*.LCK
|
rm -f ${MBSE_ROOT}/var/*.LCK
|
||||||
rm -f ${MBSE_ROOT}/tmp/mb*
|
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"
|
echo -n " mbtask"
|
||||||
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 -n ", opened bbs"
|
echo ", opened bbs"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo " is already running"
|
echo " is already running"
|
||||||
|
Reference in New Issue
Block a user