Re: /etc/dhcpc/dhcpcd-eth0.exe
On Wed, Dec 18, 2002 at 01:58:32PM -0800, Expert User wrote:
> 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?
check $reason and $interface within your /etc/dhclient-exit-hooks script?
--
groetjes, carel
Reply to: