CptDondo <(E-Mail Removed)> wrote:
> I see the kernel message go by telling me it has lost or established the
> link when I plug the cable in
Is there a hook for this that can call a script, or trigger an initd event
that can be used to call a script?
I am curious, because on my network, if I have a power failure, the network
hubs lose their connections, but the computers continue to run from a UPS
supply. The loss of the network hubs is a sure signal to all computers that
the power is out.
I was hoping to hook a shutdown script to the loss of ethernet connection
event, that shuts the computers down, if the outage lasts more than a couple
of minutes.
Regards,
Mark.
--
Mark Hobley
393 Quinton Road West
QUINTON
Birmingham
B32 1QE
Telephone: (0121) 247 1596
International: 0044 121 247 1596
Email: markhobley at hotpop dot donottypethisbit com
http://markhobley.yi.org/