Replace setddns.pl by new ddns tool.

This commit is contained in:
Michael Tremer
2014-07-06 12:58:18 +02:00
parent 0423e13b7f
commit a679407249
2 changed files with 5 additions and 9 deletions

View File

@@ -24,12 +24,10 @@ HOME=/
*/5 * * * * /usr/local/bin/makegraphs >/dev/null
17 5 * * * /etc/init.d/tmpfs backup >/dev/null
# Force update the dynamic dns registration once a week
# Force update even if IP has not changed once a month if 'minimize update' selected in GUI
# to avoid account declared as dead
*/5 * * * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl
9 2 * * 0 [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl -f
3 2 1 * * [ -f "/var/ipfire/red/active" ] && /usr/local/bin/setddns.pl -f -m
# Update dynamic DNS records every five minutes.
# Force an update once a week
*/5 * * * * [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all
9 2 * * 0 [ -f "/var/ipfire/red/active" ] && /usr/bin/ddns update-all --force
# Logwatch
01 0 * * * /usr/local/bin/logwatch > /var/log/logwatch/`date -I -d yesterday`; \

View File

@@ -1,5 +1,3 @@
#!/bin/bash
/usr/local/bin/setddns.pl -f
exit 0
exec /usr/bin/ddns update-all --force