From 24bd2752cd23ce5ff7d7c0612a4b6e66642694e2 Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 9 Oct 2004 15:42:41 +0000 Subject: fix error in su command git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2237 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- sample/pttbbs.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sample/pttbbs.sh b/sample/pttbbs.sh index 24d19106..2aa200cb 100755 --- a/sample/pttbbs.sh +++ b/sample/pttbbs.sh @@ -1,11 +1,12 @@ #!/bin/sh -# 請注意! 這個檔案將以 root 的權限執行. -# 預設使用 bbs這個帳號, 安裝目錄為 /home/bbs +# $Id$ +# 請注意!這個檔案將以 root 的權限執行! +# 預設使用 bbs這個帳號,安裝目錄為 /home/bbs。 case "$1" in start) # 初始化 shared-memory, 載入 uhash, utmpsortd, timed(if necessary) - /usr/bin/su -fm bbs -c /home/bbs/bin/shmctl init + /usr/bin/su -fm bbs -c '/home/bbs/bin/shmctl init' # 寄信至站外 /usr/bin/su -fm bbs -c /home/bbs/bin/outmail & -- cgit v1.2.3