summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 10:54:02 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-03-09 10:54:02 +0800
commita9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa (patch)
tree4d0298cfc9f25284f9a4ab923cae423b40366563 /sample
parent085c9a93cf63c5511f28005deb06f8ba25c8b667 (diff)
downloadpttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.gz
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.bz2
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.lz
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.xz
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.tar.zst
pttbbs-a9ab0dab6e86c98cfb4fb80db1ba56d51a3c0daa.zip
fix alignment and permission problems when USE_HUGETLB.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2583 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample')
-rwxr-xr-xsample/pttbbs.sh1
1 files changed, 1 insertions, 0 deletions
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'
# 寄信至站外