When the dhcpclient used to be dhcpcd, there was a way to run some script after the dhcp has run by putting a script in /etc/dhcpc/dhcpcd-eth0.exe. Now that I have dhclient, how do I achieve the same result? I learned from the man page that there is /etc/dhclient-exit-hooks script I can create, but how to associate it with a perticular interface? I need this to run my Dynamic DNS update script, everytime my IP changes. Thanks, amit
Attachment:
pgpQoapwMnnpk.pgp
Description: PGP signature