Re: status of interfaces - ifstated and more

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Kevin Chadwick
Date: Wednesday, September 1, 2010 - 3:36 am

On Wed, 1 Sep 2010 11:57:46 +0200
sven falempin <sven.falempin@gmail.com> wrote:


Don't really know what your asking.

You can setup a ifstated loop, there are examples on the net and in
ifstated.conf

Or 

If immediate action isn't required or wanted after an unknown event, you
could just use.

ifconfig fxp0 || do something (e.g. ifconfig fxp0 create or /bin/sh
netstart)
ifconfig fxp0 && do something/nothing
ifconfig fxp0 | grep UP && do something/nothing
ifconfig fxp0 | grep UP || do something (e.g ifconfig fxp0 up)
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
status of interfaces - ifstated and more, sven falempin, (Wed Sep 1, 2:55 am)
Re: status of interfaces - ifstated and more, sven falempin, (Wed Sep 1, 2:57 am)
Re: status of interfaces - ifstated and more, Kevin Chadwick, (Wed Sep 1, 3:36 am)
Re: status of interfaces - ifstated and more, sven falempin, (Wed Sep 1, 3:56 am)