|
@@ -2618,7 +2618,7 @@ function dynamic_dns_freedns {
|
2618
|
2618
|
chmod +x /usr/bin/dynamicdns
|
2619
|
2619
|
|
2620
|
2620
|
if ! grep -q "dynamicdns" /etc/crontab; then
|
2621
|
|
- sed -i '/# m h dom mon dow user command/a\*/5 * * * * root /usr/bin/timeout 240 /usr/bin/dynamicdns' /etc/crontab
|
|
2621
|
+ echo '*/5 * * * * root /usr/bin/timeout 240 /usr/bin/dynamicdns' >> /etc/crontab
|
2622
|
2622
|
fi
|
2623
|
2623
|
service cron restart
|
2624
|
2624
|
echo 'dynamic_dns_freedns' >> $COMPLETION_FILE
|