netifd: add a udhcpc.user placeholder script
authorRui Salvaterra <rsalvaterra@gmail.com>
Tue, 9 Mar 2021 22:22:09 +0000 (22:22 +0000)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 26 May 2021 06:32:53 +0000 (08:32 +0200)
commit5b16484b0da66c3bb7326dc12ce35140a445560c
treef565ec7804bf4e9ae929a29472d608546d47b012
parent21a3599a9a16bf2e1e6c39123f5d9cc83e74b07b
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>
(cherry picked from commit 130118f7aa3191a2afd244d49e3057d4c5688676)
package/network/config/netifd/Makefile
package/network/config/netifd/files/etc/udhcpc.user [new file with mode: 0644]