|
|
@@ -112,6 +112,9 @@ function create_freedns_updater {
|
|
112
|
112
|
if [ -f /usr/bin/dynamicdns ]; then
|
|
113
|
113
|
rm /usr/bin/dynamicdns
|
|
114
|
114
|
fi
|
|
|
115
|
+ if grep -q "dynamicdns" /etc/crontab; then
|
|
|
116
|
+ sed -i '/dynamicdns/d' /etc/crontab
|
|
|
117
|
+ fi
|
|
115
|
118
|
|
|
116
|
119
|
# add the update command to cron
|
|
117
|
120
|
if ! grep -q "/usr/local/bin/freedombone-freedns" /etc/crontab; then
|