[Linux-disciples] Apachectl, SSL, and /etc/init.d/apache
Stephen R Laniel
steve at laniels.org
Tue May 31 16:00:32 EDT 2005
On Wed, May 18, 2005 at 06:05:02PM -0400, Stephen R Laniel wrote:
> I have both my interfaces -- wired and wireless -- set to
> initialize when I boot, but what I'd really like to do is
> some kind of XOR: eth1 (wired) initializes if and only if
> eth0 doesn't. Does anyone know of a way to make that happen?
Come to think of it, all I really want is
ifup eth0 || ifup eth1
So I have two questions:
1) Based on a quick look right now, it appears that ifup
doesn't return a nonzero error code when it fails to bring
up the interface. Any idea how to get what I'm looking for
here?
and
2) Even if it did work, I'd like to avoid putting a custom
script command among the daemons in /etc/init.d. Is there
any way to get this command to work using the standard
daemons and config files, like /etc/network/interfaces and
/etc/init.d/networking?
--
Stephen R. Laniel
steve at laniels.org
+(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20050531/c3cdf633/attachment.pgp
More information about the Linux-disciples
mailing list