On 2024-02-17 22:55, e9hack wrote:
Hi,

I face a problem with hotplug calls. To execute hotplug calls, procd
checks given environment variables. If a variable is empty, it is
simply not set by procd. If such a variable is already set by the
shell, the called hotplug script gets a wrong value. This occurs with
dhcp hotplug scripts. On some dhcp changes, dnsmasq executes its dhcp
script. This sets the variable HOSTNAME. Sometimes this value is
empty. This results in calling the hotplug script with HOSTNAME set to
the router name, because the variable is already set. I think, procd
must clear or delete such environment variables.

Regards,
Hartmut


Could you show an example of this?



_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to