Subject: Re: How to start new servers
To: Vittorio <vdemart1@tin.it>
From: Wouter Schoot <wouter@schoot.org>
List: netbsd-help
Date: 10/17/2005 12:47:45
Vittorio wrote:
> As a netbsd 2.0.2 newbye having experience with freebsd 5.4 I've just 
> compiled from the sources under pkgsrc both samba and postgresql BUT I 
> cannot find those helpful scripts like the freebsd 010.pgsql.sh and 
> samba.sh which are neatly placed under /usr/local/etc/rc.d in freebsd 
> but  seem to be nowhere under netbsd (I expected them under 
> /usr/pkg/etc/rc.d but they weren't there)
> 
> Could someone out there 
> explain the procedure to follow to start postgresql & samba at the boot 
> of the box? STEP BY STEP PLEASE!!

PKG_RCD_SCRIPTS=YES in /etc/mk.conf automatically copies the rc.d file 
from the example dir to /etc/rc.d

mvg,

Wouter

-- 
Er was eens een boer. Hij had 3 koeien, 2 witte en 1 witte.
Maar dat gaf niet, want de koe gaf ook niet.  De boer vond een
horloge, de koe vond van niet.  Ra-ra kameel politiepet.