Detecting a change of IP address in Linux
- by Joel Holdsworth
Does anyone know a way to detect a change of IP address in Linux. Say I have dhcpcd running, and it assigns a new IP address, is there a way I can get a notification when it changes?
inotify on something in /proc/net/ ?