diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-29 19:50:23 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-29 19:51:25 +0200 |
commit | 968ea6284fe177aa0c3ace747e2027d151e2474e (patch) | |
tree | b0d78cfc28e53385ac9a79c5fa4b5140a592b58d /op-mode-definitions/dynamic-dns.xml | |
parent | 1046011ec0d6a47c20a54adc1cecd3a1dd57300f (diff) | |
download | vyos-1x-968ea6284fe177aa0c3ace747e2027d151e2474e.tar.gz vyos-1x-968ea6284fe177aa0c3ace747e2027d151e2474e.zip |
dynamic-dns: op-mode: add restart command
vyos@vyos:~$ restart dns dynamic
Dynamic DNS update service is not configured
Diffstat (limited to 'op-mode-definitions/dynamic-dns.xml')
-rw-r--r-- | op-mode-definitions/dynamic-dns.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/op-mode-definitions/dynamic-dns.xml b/op-mode-definitions/dynamic-dns.xml index 6ea6482e1..33c10c03c 100644 --- a/op-mode-definitions/dynamic-dns.xml +++ b/op-mode-definitions/dynamic-dns.xml @@ -44,4 +44,18 @@ </node> </children> </node> + <node name="restart"> + <children> + <node name="dns"> + <children> + <node name="dynamic"> + <properties> + <help>Restart dynamic DNS service</help> + </properties> + <command>sudo ${vyos_op_scripts_dir}/dns_dynamic_restart.sh</command> + </node> + </children> + </node> + </children> + </node> </interfaceDefinition> |