[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-port-alpha
Subject:    Re: startup directory
From:       David Maxwell <david () vex ! net>
Date:       2000-09-22 14:23:34
[Download RAW message or body]

On Fri, Sep 22, 2000 at 02:17:45PM +0200, M. Possamai wrote:
> Is there a special directory in NetBSD to put scripts in
> that have to start at boot time?
> or do I just have to put all things in rc.conf?

Depending on whether you are running

<= 1.4.x

You can add to /etc/rc.local

>= 1.5(pre-release)

There's an rc.d directory, but be aware it's smarter than most rc.d's.
It doesn't run in filename order, you set PROVIDES and REQUIRES and run
'rcorder' after addding your script. See some of the files in that dir
for examples.

-- 
David Maxwell, david@vex.net|david@maxwell.net --> Mastery of UNIX, like
mastery of language, offers real freedom. The price of freedom is always dear,
but there's no substitute. Personally, I'd rather pay for my freedom than live
in a bitmapped, pop-up-happy dungeon like NT. - Thomas Scoville 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic