netifd: add a udhcpc.user placeholder script
authorRui Salvaterra <rsalvaterra@gmail.com>
Tue, 9 Mar 2021 22:22:09 +0000 (22:22 +0000)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 10 Mar 2021 19:16:22 +0000 (20:16 +0100)
commit130118f7aa3191a2afd244d49e3057d4c5688676
tree08f830570d787026265f049d5dee7c4616b4f834
parentb4f3d93b5f3d82142e6af51486f4f99a57f33e29
netifd: add a udhcpc.user placeholder script

Document the existence of this feature. This allows the user to execute a script
at each DHCPv4 event. This is useful, for example, as an ad-hoc way to update a
DDNS entry when (and only when) required.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
package/network/config/netifd/Makefile
package/network/config/netifd/files/etc/udhcpc.user [new file with mode: 0644]