summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-16 15:44:30 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-16 15:44:30 +0800
commitecc0a37d2e230e64268871d1e649649d9cf36d4c (patch)
tree7b6e4ab7a95a16b98a5feea71950372f3daf5d15
parentbae6202ea518b5f09cf37ebba8636f15deb31208 (diff)
downloadpttbbs-ecc0a37d2e230e64268871d1e649649d9cf36d4c.tar
pttbbs-ecc0a37d2e230e64268871d1e649649d9cf36d4c.tar.gz
pttbbs-ecc0a37d2e230e64268871d1e649649d9cf36d4c.tar.bz2
pttbbs-ecc0a37d2e230e64268871d1e649649d9cf36d4c.tar.lz
pttbbs-ecc0a37d2e230e64268871d1e649649d9cf36d4c.tar.xz
pttbbs-ecc0a37d2e230e64268871d1e649649d9cf36d4c.tar.zst
pttbbs-ecc0a37d2e230e64268871d1e649649d9cf36d4c.zip
for OUTTA_TIMER
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@855 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/sample/pttbbs.conf3
-rw-r--r--pttbbs/sample/rc.local3
2 files changed, 5 insertions, 1 deletions
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"