还是不行阿!
我修改后的配置文件是:
#!/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.
/usr/local/sbin/proftpd
touch /var/lock/subsys/local
要怎么办?
[quote:c9964fa473=""]再教你一个终极办法,在/etc/rc.d/rc3.d/建立一个S100xxx(随便去个名字但是第一个需要写S表示启动,100表示执行顺序。)然后写入启动的信息就行了。绝对安全,不容易被发现。呵呵,你也许能够看到rc.local脚本也在里面哦[/quote]我上面说的那个已经就是你所谓的“终极”办法了。
你只在rc3.d中加入“S100xxx”并不全面,其他启动级(runlevel)里也需要加入类似这个的东西,如果他的启动级是5,照你说的方法依然无法自动启动,还有这些只是连接。
使用chkconfig可以自动完成所有工作,看看man chkconfig。
red hat 9。