Mailing List Archive


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

Re: [tlug] Perform an action when network cable unplugged (and back in again)



On Wed, Jun 13, 2012 at 9:24 AM, Darren Cook <darren@example.com> wrote:
> What I'd like to do is run a command when we get link down (I'd like to
> unmount a network drive), and run another command when we get link up
> (remount the drive). Are there any hooks in linux for this?

netplugd

I have not used it for a while but my rusty memory tells me it was
trivial to configure and use.

Regards, Keith


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links