summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--op-mode-definitions/dynamic-dns.xml14
-rwxr-xr-xsrc/op_mode/dns_dynamic_restart.sh8
2 files changed, 0 insertions, 22 deletions
diff --git a/op-mode-definitions/dynamic-dns.xml b/op-mode-definitions/dynamic-dns.xml
index 33c10c03c..6ea6482e1 100644
--- a/op-mode-definitions/dynamic-dns.xml
+++ b/op-mode-definitions/dynamic-dns.xml
@@ -44,18 +44,4 @@
</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>
diff --git a/src/op_mode/dns_dynamic_restart.sh b/src/op_mode/dns_dynamic_restart.sh
deleted file mode 100755
index 1b67ff4f1..000000000
--- a/src/op_mode/dns_dynamic_restart.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if cli-shell-api existsEffective service dns dynamic; then
- echo "Restarting dynamic DNS service"
- systemctl restart ddclient.service
-else
- echo "Dynamic DNS update service is not configured"
-fi