bind95 port, no rc.d script

Matthew Seaman m.seaman at infracaninophile.co.uk
Thu Jul 17 14:44:20 UTC 2008


Andy Smith wrote:

> I've just installed the latest bind95 P1 ports package, all installed
> ok and is working but it hasn't installed the /etc/rc.d/named script
> (nor in /usr/local/etc/rc.d) nor is there a script in the ports work
> dir called named. Can anyone suggest what I may have done wrong? I
> can write a custom script, but Id rather ports put it there so I dont
> have to worry about this on every upgrade  and to understand ports
> better etc,

You can use the rc script for the base system named.  Simply add the 
following to /etc/rc.conf:

named_enable="YES"
named_program="/usr/local/sbin/named"
named_flags="-c /etc/namedb/named.conf"

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
                                                  Kent, CT11 9PW

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080717/03b8cc4f/signature.pgp


More information about the freebsd-ports mailing list