Subject: Re: local daemons startup; how? (/usr/pkg/etc/rc.d)
To: Carlos A. Carnero Delgado <carnero@icrt.cu>
From: Rasputin <rasputin@idoru.mine.nu>
List: netbsd-help
Date: 07/16/2002 17:24:56
* Carlos A. Carnero Delgado <carnero@icrt.cu> [020716 15:56]:
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Hi,
> 
> ok, dumb question. I've just installed NetBSD-1.5.2 (yay!) and pkg_added the
> net-snmp package. Being a local addition, I can see the startup/shutdown
> script sitting there in /usr/pkg/etc/rc.d/snmpd.
> 
> Under FreeBSD, the contents of the local rc.d directory, /usr/local/etc/rc/d
> are automagically started on boot, but not on NetBSD--I think. So, right now
> I believe that I have to start it "manually".

I had the same migration problems.

best fix I found was to copy the scripts from
/usr/pkg/etc/rc.d -> /etc/rc.d

and add a 

servicename=YES

to rc.conf, then /etc/rc.d/servicename start


> So, in which place do I add that start up script? /etc/rc.local?
> 
> Best regards,
> --
> carlos carnero | carnero@icrt.cu | sysadmin/BOFH
> 
> To understand recursion, one must first understand recursion
> 
> 

-- 
Rasputin :: Jack of All Trades - Master of Nuns