|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Re: Another Qmail/OpenBSD Question
From: Jim Breton (jamesb-openbsd
alongtheway.com)Date: Wed Jan 03 2001 - 00:15:03 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Jan 02, 2001 at 09:13:58PM -0500, Kit Halsted wrote:
> 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
You can invoke it under any shell you want, really. You don't have to
use csh if you don't want to. I use sh for mine, for instance.
sh /var/qmail/rc &
or simply
/var/qmail/rc &
From what I have heard, DJB uses csh in his example because some
implementations of the Bourne shell will cause their children to exit if
they receive a HUP signal... or, something like that. (I could be
completely wrong... it's just something I read on another list.)
I don't see this as being a problem with our pdksh though. Nor with
bash.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]