Update database backup to using password manager

This commit is contained in:
Bob Mottram 2016-11-22 11:17:17 +00:00
parent 6a176f021e
commit d30773b877
1 changed files with 5 additions and 0 deletions

View File

@ -62,6 +62,11 @@ if [ $DEVELOPMENT_BRANCH ]; then
fi
fi
if grep "cat /root/dbpass" /usr/bin/backupdatabases; then
# update to using the password manager
sed -i "s|cat /root/dbpass|freedombone-pass -u root -a mariadb|g" /usr/bin/backupdatabases
fi
update-ca-certificates
read_repo_servers