[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another Qmail/OpenBSD Question



At 1:13 AM +0100 1/3/01, Henning Brauer wrote:
>Am Mittwoch,  3. Januar 2001 00:50 schrieb Kit Halsted:
>>  14. Add
>  >              csh -cf '/var/qmail/rc &'
>>       to your boot scripts, so that the qmail daemons are restarted
>>       whenever your system reboots. Make sure you include the &.
>
>>  Into which file (& where in the file) should I add something like the
>>  above?
>
>/etc/rc.local
>
>>  I assume that this line is not exactly kosher for OpenBSD's boot
>>  scripts.
>
>It is.

Okay, I'm not being a smartass here, just asking an honest & 
admittedly ignorant question:

If

csh -cf '/var/qmail/rc &'

is valid for rc.local, why does everything else in the file look like

if [ -x /usr/local/sbin/somedaemon ]; then
        echo -n ' somedaemon';       /usr/local/sbin/somedaemon
fi

?

(Or, better yet, is this documented somewhere? I did read man 
rc.local, but it didn't answer my super-basic syntax questions.)

-Kit