标签:
1) make a autorun script and put to /etc/init.d
2) link to specify run level directory such as
copy /opt/httpd/bin/apachectl to /etc/init.d and link to rc3.d rc6.d
#> cp /opt/httpd/bin/apachectl /etc/init.d
#>ln -s /etc/init.d/apachectl /etc/rc0.d/K90httpd
#>ln -s /etc/init.d/apachectl /etc/rc6.d/K90httpd
#>ln -s /etc/init.d/apachectl /etc/rc3.d/S90httpd
标签:
原文地址:http://my.oschina.net/u/1453451/blog/414120