Thanks :) 
I'll try and readup on the misc a bit more as well, maybe I can provide some
assistance somewhere in return :)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Otto Moerbeek
Sent: vrijdag 14 maart 2008 9:09
To: Erwin van Maanen
Cc: [email protected]
Subject: Re: dhcpd rc bug?

On Fri, Mar 14, 2008 at 08:59:07AM +0100, Erwin van Maanen wrote:

> Oeps :p
> 
> Indeed I had (in rc.conf and I have a .local too), forgot all about 
> that I decided to use the .local since it made updating easier...
> Thanks for the rtfm hint :)
> 
> Just I more question if you don't mind answering it... which procress 
> starts the rc and rc.local, is that the kernel itself or some kind of 
> process that is started by the kernel.
> No need for a full explenation ofcourse, just another rtfm hint would 
> be great tho :)

See init(8).

        -Otto

> 
> Erwin
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf 
> Of Otto Moerbeek
> Sent: vrijdag 14 maart 2008 8:29
> To: Erwin van Maanen
> Cc: [email protected]
> Subject: Re: dhcpd rc bug?
> 
> On Fri, Mar 14, 2008 at 08:15:51AM +0100, Erwin van Maanen wrote:
> 
> > Hello everyone,
> > 
> > I found out i couldn't disable my dhcp daemon yesterday and i think 
> > i've traced the problem to this in /etc/rc:
> > 
> >     if [ X"${dhcpd_flags}" != X"NO" -a -f /etc/dhcpd.conf ]; then
> > 
> > Now i have no clue what " -a -f " does (anyone care to point me to 
> > the right manual?), but just setting dhcpd_flags=NO in rc.conf 
> > didn't disable
> it.
> > I had to rename the file dhcpd.conf file, so i guess the line does 
> > an OR comparison instead of an AND comparison, anyone care to 
> > enlighten me or did i actually find a minor bug?
> > 
> > Kind regards,
> > 
> > Erwin van Maanen
> > ACMEWeb I.S.
> 
> That expression is right (see test(1)).
> 
> Where did you set dhcpd_flags to NO? In /etc/rc.conf? Do you perhaps 
> have another definition in /etc/rc.conf.local or something like that?
> 
>       -Otto

Reply via email to