Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jul 2013 06:36:28 -0500
From:      "Mark Felder" <feld@feld.me>
To:        freebsd-hackers@freebsd.org
Subject:   Re: writing a rc.d script
Message-ID:  <op.wzyc62z234t2sn@markf.office.supranet.net>
In-Reply-To: <CAGBxaX==-GEiJ462hvD=k=8N=Ums9_sv1TS0dOxO8dCbVy_LcA@mail.gmail.com>
References:  <CAGBxaX==-GEiJ462hvD=k=8N=Ums9_sv1TS0dOxO8dCbVy_LcA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 07 Jul 2013 06:45:46 -0500, Aryeh Friedman  
<aryeh.friedman@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?
>

Start with another similar port if possible. Make sure you use rclint to  
verify its correctness. There is a ton of information inside /etc/rc.subr  
and /usr/ports/Mk/* which may help you write your port where the  
documentation falls short.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wzyc62z234t2sn>