summaryrefslogtreecommitdiff
path: root/src/op_mode/dns_dynamic_restart.sh
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-29 19:59:13 +0200
committerChristian Poessinger <christian@poessinger.com>2020-05-29 19:59:13 +0200
commit84ef5431981c1b434b42053f6305a1e4acae754f (patch)
treea8db8b41856d67c7244ae7ee5086c6de0349f270 /src/op_mode/dns_dynamic_restart.sh
parent968ea6284fe177aa0c3ace747e2027d151e2474e (diff)
downloadvyos-1x-84ef5431981c1b434b42053f6305a1e4acae754f.tar.gz
vyos-1x-84ef5431981c1b434b42053f6305a1e4acae754f.zip
Revert "dynamic-dns: op-mode: add restart command"
This is actually implemented as "update dns dynamic" This reverts commit 968ea6284fe177aa0c3ace747e2027d151e2474e.
Diffstat (limited to 'src/op_mode/dns_dynamic_restart.sh')
-rwxr-xr-xsrc/op_mode/dns_dynamic_restart.sh8
1 files changed, 0 insertions, 8 deletions
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