summaryrefslogtreecommitdiffstats
path: root/sample/pttbbs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sample/pttbbs.sh')
-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'
# 寄信至站外