summaryrefslogblamecommitdiffstats
path: root/sample/rc.local
blob: 96d2cb0066aaf3ea12b3ded467a91a594196d62e (plain) (tree)
1
2
3
4



                                                 












                                                          


                                                            
#!/bin/sh
/usr/bin/su bbsadm -c /home/bbs/bin/uhash_loader
/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 &
/usr/bin/su -fm bbsadm -c "/home/bbs/bin/shmctl utmpsortd"

# 若您在 pttbbs.conf 中有開 OUTTA_TIMER 的話, 則須跑下面這行
# /usr/bin/su -fm bbsadm -c "/home/bbs/bin/shmctl timed"