应该没有问题
偶的:
[root@SAMSUNG root]# more /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
mount tmpfs /home/bbstmpfs -t tmpfs -o size=128M
for i in brc tmp dynamic userattach; do mkdir /home/bbstmpfs/$i; done
chown bbs:bbs /home/bbstmpfs -R
cd /home/bbs
ln /home/bbstmpfs/tmp tmpfast -s
ln /home/bbstmpfs/dynamic dynamic -s
/home/bbs/bin/bbsd 23
/home/bbs/bin/bbspop3d
su bbs -c "/home/bbs/bin/bbslogd"
su bbs -c "/home/bbs/bin/bbsevad"
su bbs -c "/home/bbs/bin/atthttpd"
su bbs -c "/home/bbs/innd/innbbsd"
httpsd
[root@SAMSUNG root]#
【 在 AM@TaoLiBBS.3322.ORG (冰蚀) 的大作中提到: 】
: 能不能这样写?在rc.local里面添加如下
: /home/bbs/bin/bbsd 23
: /usr/local/apache/bin/apachectl start
: su bbs -c /home/bbs/innd/innbbsd
--
FROM 210.34.155.70