blob: 1b67ff4f1568a5b9f23e111a01283cdfb7d2ab1a (
plain)
1
2
3
4
5
6
7
8
|
#!/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
|