summaryrefslogtreecommitdiff
path: root/src/op_mode/dns_forwarding_restart.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/op_mode/dns_forwarding_restart.sh')
-rwxr-xr-xsrc/op_mode/dns_forwarding_restart.sh8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/op_mode/dns_forwarding_restart.sh b/src/op_mode/dns_forwarding_restart.sh
deleted file mode 100755
index 64cc92115..000000000
--- a/src/op_mode/dns_forwarding_restart.sh
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-if cli-shell-api existsEffective service dns forwarding; then
- echo "Restarting the DNS forwarding service"
- systemctl restart pdns-recursor.service
-else
- echo "DNS forwarding is not configured"
-fi