From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 7 14:49:18 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BD0C3E22 for ; Sun, 7 Jul 2013 14:49:18 +0000 (UTC) (envelope-from mad@madpilot.net) Received: from winston.madpilot.net (winston.madpilot.net [78.47.75.155]) by mx1.freebsd.org (Postfix) with ESMTP id 7DCCC17AE for ; Sun, 7 Jul 2013 14:49:17 +0000 (UTC) Received: from winston.madpilot.net (localhost [127.0.0.1]) by winston.madpilot.net (Postfix) with ESMTP id 3bpCB24NS9zFTxW; Sun, 7 Jul 2013 16:39:54 +0200 (CEST) X-Virus-Scanned: amavisd-new at madpilot.net Received: from winston.madpilot.net ([127.0.0.1]) by winston.madpilot.net (winston.madpilot.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qqvtZ5DTeVTg; Sun, 7 Jul 2013 16:39:52 +0200 (CEST) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by winston.madpilot.net (Postfix) with ESMTPSA; Sun, 7 Jul 2013 16:39:52 +0200 (CEST) Message-ID: <51D97DB8.3020808@madpilot.net> Date: Sun, 07 Jul 2013 16:39:52 +0200 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130627 Thunderbird/17.0.7 MIME-Version: 1.0 To: Eitan Adler Subject: Re: writing a rc.d script References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List , Aryeh Friedman X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Jul 2013 14:49:18 -0000 On 07/07/13 13:47, Eitan Adler wrote: > On Sun, Jul 7, 2013 at 1:45 PM, Aryeh Friedman 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