diff options
author | Rui Salvaterra <rsalvaterra@gmail.com> | 2021-03-09 22:22:09 +0000 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-05-26 08:32:53 +0200 |
commit | 5b16484b0da66c3bb7326dc12ce35140a445560c (patch) | |
tree | f565ec7804bf4e9ae929a29472d608546d47b012 /package/network/config/netifd/files | |
parent | 21a3599a9a16bf2e1e6c39123f5d9cc83e74b07b (diff) | |
download | upstream-5b16484b0da66c3bb7326dc12ce35140a445560c.tar.gz upstream-5b16484b0da66c3bb7326dc12ce35140a445560c.tar.bz2 upstream-5b16484b0da66c3bb7326dc12ce35140a445560c.zip |
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)
Diffstat (limited to 'package/network/config/netifd/files')
-rw-r--r-- | package/network/config/netifd/files/etc/udhcpc.user | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/config/netifd/files/etc/udhcpc.user b/package/network/config/netifd/files/etc/udhcpc.user new file mode 100644 index 0000000000..78e2ba5f18 --- /dev/null +++ b/package/network/config/netifd/files/etc/udhcpc.user @@ -0,0 +1 @@ +# This script is sourced by udhcpc's dhcp.script at every DHCP event. |