summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
Diffstat (limited to 'sample')
-rwxr-xr-xsample/pttbbs.sh7
1 files 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
-# �Ъ`�N! �o���ɮױN�H root ���v������.
-# �w�]�ϥ� bbs�o�ӱb��, �w�˥ؿ��� /home/bbs
+# $Id$
+# �Ъ`�N�I�o���ɮױN�H root ���v������I
+# �w�]�ϥ� bbs�o�ӱb���A�w�˥ؿ��� /home/bbs�C
case "$1" in
start)
# ��l�� shared-memory, ���J 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'
# �H�H�ܯ��~
/usr/bin/su -fm bbs -c /home/bbs/bin/outmail &