From ecc0a37d2e230e64268871d1e649649d9cf36d4c Mon Sep 17 00:00:00 2001 From: in2 Date: Fri, 16 May 2003 07:44:30 +0000 Subject: for OUTTA_TIMER git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/sample/pttbbs.conf | 3 ++- pttbbs/sample/rc.local | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pttbbs/sample/pttbbs.conf b/pttbbs/sample/pttbbs.conf index 73a324bd..67e696d9 100644 --- a/pttbbs/sample/pttbbs.conf +++ b/pttbbs/sample/pttbbs.conf @@ -84,7 +84,8 @@ //#define PRE_FORK 10 /* 若定義, 則由 shmctl utmpsortd 將 time(NULL) 寫入 SHM->GV2.e.now, - 則不須每個 mbbsd都自己透過 time(NULL) 取得時間, 導致大量的 system call */ + 則不須每個 mbbsd都自己透過 time(NULL) 取得時間, 導致大量的 system call. + 須要加跑 shmctl timed 來提供時間 */ //#define OUTTA_TIMER /* 前進站畫面 */ diff --git a/pttbbs/sample/rc.local b/pttbbs/sample/rc.local index d31a009a..96d2cb00 100644 --- a/pttbbs/sample/rc.local +++ b/pttbbs/sample/rc.local @@ -15,3 +15,6 @@ /home/bbs/bin/mbbsd 3009 & /home/bbs/bin/mbbsd 3010 & /usr/bin/su -fm bbsadm -c "/home/bbs/bin/shmctl utmpsortd" + +# 若您在 pttbbs.conf 中有開 OUTTA_TIMER 的話, 則須跑下面這行 +# /usr/bin/su -fm bbsadm -c "/home/bbs/bin/shmctl timed" -- cgit v1.2.3