Overwrite backup script

This commit is contained in:
Bob Mottram 2015-12-22 20:40:21 +00:00
parent ed3fd72ebb
commit a2e4ed8a94
1 changed files with 0 additions and 6 deletions

View File

@ -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 {