mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Replace setddns.pl by new ddns tool.
This commit is contained in:
@@ -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`; \
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
/usr/local/bin/setddns.pl -f
|
||||
|
||||
exit 0
|
||||
exec /usr/bin/ddns update-all --force
|
||||
|
||||
Reference in New Issue
Block a user