diff --git a/src/freedombone b/src/freedombone index 6cf4ed7a..bde84741 100755 --- a/src/freedombone +++ b/src/freedombone @@ -2949,10 +2949,6 @@ function create_freedns_updater { } function backup_to_friends_servers { - if grep -Fxq "backup_to_friends_servers" $COMPLETION_FILE; then - return - fi - # update crontab echo '#!/bin/bash' > /etc/cron.daily/backuptofriends echo "if [ -f /usr/local/bin/${PROJECT_NAME}-backup-remote ]; then" >> /etc/cron.daily/backuptofriends @@ -2961,8 +2957,6 @@ function backup_to_friends_servers { echo " /usr/bin/${PROJECT_NAME}-backup-remote" >> /etc/cron.daily/backuptofriends echo 'fi' >> /etc/cron.daily/backuptofriends chmod +x /etc/cron.daily/backuptofriends - - echo 'backup_to_friends_servers' >> $COMPLETION_FILE } function remove_default_user {