Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2006 17:28:30 -0800
From:      Alfred Morgan <alfred.morgan@experclick.com>
To:        Tom McLaughlin <tmclaugh@sdf.lonestar.org>
Cc:        ports@freebsd.org, Ceri Davies <ceri@submonkey.net>, doc@freebsd.org
Subject:   Re: update document
Message-ID:  <441F56BE.80606@experclick.com>
In-Reply-To: <1142823791.62391.3.camel@bofh>
References:  <C0435540.ADB4%ceri@submonkey.net> <1142823791.62391.3.camel@bofh>

next in thread | previous in thread | raw e-mail | index | archive | help

   It seems that set_rcvar in /etc/rc.subr checks OSTYPE and checks for
   NetBSD and would set rcvar to something different (without the _enable
   appended)
   p.s. when I said OpenBSD in my first email I ment NetBSD.
   -alfred
   Tom McLaughlin wrote:

On Sun, 2006-03-19 at 18:36 +0000, Ceri Davies wrote:
  

On 15/3/06 19:15, "Alfred Morgan" [1]<alfred.morgan@experclick.com> wrote:



In this document:
[2]http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts
.h
tml

Can we change:

rcvar=${name}_enable

to be :

rcvar=`set_rcvar`

so that it would be a good example how to be other OS (OpenBSD)
compatible as well.


OpenBSD doesn't use rcNG.

Tom



If that's the accepted way for FreeBSD ports to do it, sure.

If not, then we need to get buy in from our ports guys first - ports guys?

Ceri

References

   1. mailto:alfred.morgan@experclick.com
   2. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.h



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