mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 19:23:24 +02:00
ddns: Remove forced update
DDNS will automatically take care of the updates by tracking them in a database and re-execute the update after 30 days. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -51,6 +51,11 @@ mv -f /etc/ssh/ssh_host_dsa_key{,.old}
|
||||
mv -f /etc/ssh/ssh_host_key{,.old}
|
||||
mv -f /etc/ssh/ssh_host_rsa_key{,.old}
|
||||
|
||||
# Update crontab
|
||||
sed -i /var/spool/cron/root.orig -e "/Force an update once a month/d"
|
||||
sed -i /var/spool/cron/root.orig -e "/ddns update-all --force/d"
|
||||
fcrontab -z &>/dev/null
|
||||
|
||||
# Start services
|
||||
/etc/init.d/dnsmasq start
|
||||
/etc/init.d/sshd start
|
||||
|
||||
Reference in New Issue
Block a user