summaryrefslogtreecommitdiffstats
path: root/sample
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-09 23:42:41 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-09 23:42:41 +0800
commit24bd2752cd23ce5ff7d7c0612a4b6e66642694e2 (patch)
tree8c785d8e95980c0f0e3bb593c2b12f7daf29c720 /sample
parenta54bdf2bab6dd5004983e8812f57e85753b73f13 (diff)
downloadpttbbs-24bd2752cd23ce5ff7d7c0612a4b6e66642694e2.tar
pttbbs-24bd2752cd23ce5ff7d7c0612a4b6e66642694e2.tar.gz
pttbbs-24bd2752cd23ce5ff7d7c0612a4b6e66642694e2.tar.bz2
pttbbs-24bd2752cd23ce5ff7d7c0612a4b6e66642694e2.tar.lz
pttbbs-24bd2752cd23ce5ff7d7c0612a4b6e66642694e2.tar.xz
pttbbs-24bd2752cd23ce5ff7d7c0612a4b6e66642694e2.tar.zst
pttbbs-24bd2752cd23ce5ff7d7c0612a4b6e66642694e2.zip
fix error in su command
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2237 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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 &