From a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 9 Mar 2005 02:54:02 +0000 Subject: fix alignment and permission problems when USE_HUGETLB. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/pttbbs.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'sample') diff --git a/sample/pttbbs.sh b/sample/pttbbs.sh index 2aa200cb..d8b87f6b 100755 --- a/sample/pttbbs.sh +++ b/sample/pttbbs.sh @@ -6,6 +6,7 @@ case "$1" in start) # 初始化 shared-memory, 載入 uhash, utmpsortd, timed(if necessary) + # 如果使用 USE_HUGETLB 的話請用 root 跑 shmctl init /usr/bin/su -fm bbs -c '/home/bbs/bin/shmctl init' # 寄信至站外 -- cgit v1.2.3