Hi

In the man pages for rc it says:

"The best way to handle rc.local, however, is to separate it
out into rc.d/ style scripts and place them under /usr/local/etc/rc.d/."


So I created an rc.d style script for my own service and stuck it in /usr/local/etc/rc.d/. It does not have a .sh on the end as it should run in a subshell as detailed in the rc man page. I also added

myscript_enable="YES"

in /etc/rc.conf.local

I can run my script by hand and it works. But when I boot it does not even try and run my script.

How do you get rc.d style scripts in /usr/local/etc/rc.d/ to run at boot time?

Thanks
Chad

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to