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
_______________________________________________
freebsd-doc@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-doc
To unsubscribe, send any mail to "freebsd-doc-unsubscribe@freebsd.org"