Subject: Re: packages and rcorder(8)
To: Martijn van Buul <martijnb@atlas.ipv6.stack.nl>
From: David Laight <david@l8s.co.uk>
List: netbsd-help
Date: 05/06/2005 23:51:16
On Fri, May 06, 2005 at 09:10:36PM +0000, Martijn van Buul wrote:
> Hiya.
> 
> Is there any way to override the default rcorder keywords for a given 
> file in /etc/rc.d, without editing it? I have both cups and samba installed,
> and I need cups to be run *before* samba - since samba exports a cups 
> printer. This is done easily enough by adding
> 
> # REQUIRE: cupsd
> 
> to the top of /etc/rc.d/samba, but that way I'll introduce a fork, possibly
> creating problems in the future (pkg_delete would leave it behind if 
> samba ever gets deleted, and pkg_install wouldn't overwrite it, leaving
> me with a possibly outdated version).

Try adding another file that contains:

# REQUIRE: cupsd
# BEFORE: samba

	David

-- 
David Laight: david@l8s.co.uk