Erwin van Maanen escreveu:
> 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.
>
>
I know, i know, but there isn't, in the openbsd faq, something tell us
to NEVER mess with /etc/rc and /etc/rc.conf, and use only rc.conf.local
and rc.local? Looks even simpler than RTFM, it looks like RTFF(AQ). :).

Erwin, i was new to openbsd some years ago, and committed some of the
mistakes you made also. But never said it was a bug. And even if it was,
apropos bug would reveal sendbug(1), that explains the procedure for bug
reporting one, and sending a possible bug(it wasn't) to misc, isn't the
right way to do it. I recommend you man intro before anything.

My 2 cents,

--
Giancarlo Razzolini
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Moleque Sem Conteudo Numero #002
Slackware Current
OpenBSD Stable
Ubuntu 7.04 Feisty Fawn
Snike Tecnologia em Informatica
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85

[demime 1.01d removed an attachment of type application/pgp-signature which had 
a name of signature.asc]

Reply via email to