Subject: Re: initialization order & permanently mounting USB drives?
To: James Hartley <jjhartley@gmail.com>
From: Dave B <spam@y2007.dberg.net>
List: netbsd-users
Date: 09/14/2007 00:02:53
On Thu, Sep 13, 2007 at 03:47:27PM -0700, James Hartley wrote:
...
> $ cd /etc/rc.conf.d
> $ cat swapctl
> start_precmd=swapctl_precmd
...
> ...but I see no evidence that this function is executed at all.  The
> output during initialization is the same as before.

  One issue is that "swapctl" won't do anything useful as an entry
under /etc/rc.conf.d, because it doesn't match an /etc/rc.d service
name (man rc.conf(5)).  See if naming it "swap1" or "swap2"
(depending on when you want it to run), instead, does what you're
looking for.

Cheers,  --Dave