Results 1 to 2 of 2
I'm trying to restart the dhcpcd if the the ethernet cable is pulled out or plugged back in. Is there a way to do this from a script? The idea ...
- 10-05-2007 #1Just Joined!
- Join Date
- Aug 2007
- Posts
- 9
Restarting DHCPCD from script in response to events
I'm trying to restart the dhcpcd if the the ethernet cable is pulled out or plugged back in. Is there a way to do this from a script? The idea is to always have the script running, and if there is a change in status of the ethernet cable, the script restarts dhcpcd. Any suggestions would be appreciated.
Last edited by NoahSteam; 10-05-2007 at 04:19 PM. Reason: more description added
- 10-05-2007 #2
I believe ifplugd is what you're looking for. It's a daemon that configures a device on cable plug in.
Flies of a particular kind, i.e. time-flies, are fond of an arrow.
Registered Linux User #408794


Reply With Quote