writing a rc.d script

Guido Falsi mad at madpilot.net
Sun Jul 7 14:49:18 UTC 2013


On 07/07/13 13:47, Eitan Adler wrote:
> On Sun, Jul 7, 2013 at 1:45 PM, Aryeh Friedman <aryeh.friedman at gmail.com> wrote:
>> I have a program I am making a port for that also requires a
>> /usr/local/etc/rc.d script is there anywhere I can find documentation
>> on how write one and/or a template file to follow?
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/
> http://www.freebsd.org/doc/en/books/porters-handbook/rc-scripts.html
>
>

There is also the port devel/rclint which is quite useful to check rc 
scripts for correctness.

-- 
Guido Falsi <mad at madpilot.net>


More information about the freebsd-hackers mailing list