diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-07-20 10:50:21 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-07-20 10:50:21 +0800 |
commit | 9f7e9e14f8e55186e042f7120d039d8ce82ab142 (patch) | |
tree | e46bc7468da897d0a5ad1c3110dcf4513edb8004 /sample/rc.local | |
parent | 96cc52be601be9fbe132dd2d619db1aa175fda5c (diff) | |
download | pttbbs-9f7e9e14f8e55186e042f7120d039d8ce82ab142.tar pttbbs-9f7e9e14f8e55186e042f7120d039d8ce82ab142.tar.gz pttbbs-9f7e9e14f8e55186e042f7120d039d8ce82ab142.tar.bz2 pttbbs-9f7e9e14f8e55186e042f7120d039d8ce82ab142.tar.lz pttbbs-9f7e9e14f8e55186e042f7120d039d8ce82ab142.tar.xz pttbbs-9f7e9e14f8e55186e042f7120d039d8ce82ab142.tar.zst pttbbs-9f7e9e14f8e55186e042f7120d039d8ce82ab142.zip |
use bbsctl start
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1070 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'sample/rc.local')
-rw-r--r-- | sample/rc.local | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/sample/rc.local b/sample/rc.local index 4da3d8d5..c266f9bf 100644 --- a/sample/rc.local +++ b/sample/rc.local @@ -1,16 +1,7 @@ #!/bin/sh +# WARNING: this script is run by root!! + /usr/bin/su bbsadm -c /home/bbs/bin/shmctl init /usr/bin/su bbsadm -c /home/bbs/bin/outmail& /usr/bin/su bbsadm -c /home/bbs/innd/innbbsd 7777 -/home/bbs/bin/mbbsd 23 & -/home/bbs/bin/mbbsd 3000 & -/home/bbs/bin/mbbsd 3001 & -/home/bbs/bin/mbbsd 3002 & -/home/bbs/bin/mbbsd 3003 & -/home/bbs/bin/mbbsd 3004 & -/home/bbs/bin/mbbsd 3005 & -/home/bbs/bin/mbbsd 3006 & -/home/bbs/bin/mbbsd 3007 & -/home/bbs/bin/mbbsd 3008 & -/home/bbs/bin/mbbsd 3009 & -/home/bbs/bin/mbbsd 3010 & +/home/bbs/bin/bbsctl start |