update document
Alfred Morgan
alfred.morgan at experclick.com
Tue Mar 21 02:22:00 UTC 2006
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 at 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 at experclick.com
2. http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/rc-scripts.h
More information about the freebsd-doc
mailing list