dhcpcd-discuss

Re: Triggering action on connection change using hooks

Reto Schneider

Sun May 05 14:35:31 2019

Hi Roy,

Thanks for your answer!

On 5/5/19 3:45 PM, Roy Marples wrote:
> Now that will fire whenever dhcpcd gets as valid lease or a router
> advertisement.
> That might be far too frequent for your needs.

Yes, it is far too frequent.

> Antyhing *of relevance* that has changed could mean many things - for
> example has the hardware address of the default router changed? Are we
> running on wireless or wired?

Yes, this is very vague. Bottom line is that I would like to allow the
user (and even more important, the developers and testers) to easily
enforce an update attempt without having to restart the device or
waiting for the 12h polling interval to end.

> I think the easiest solution would be to pull for an update via a cron job.

This is already the case, happening every 12 hours and also during startup.


Kind regards,
Reto

The information in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If you are not an intended recipient, you are strictly prohibited from reading, disclosing, distributing, copying or using this email or any of its contents, in any way whatsoever. If you have received this email in error, please contact the sender by reply email and destroy all copies of the original message. Please also be advised that emails are not a secure form for communication, and may contain errors.

Follow-Ups:
Re: Triggering action on connection change using hooksRoy Marples
References:
Triggering action on connection change using hooksReto Schneider
Re: Triggering action on connection change using hooksRoy Marples
Archive administrator: postmaster@marples.name