ソースを参照

Update database backup to using password manager

Bob Mottram 8 年 前
コミット
d30773b877
共有1 個のファイルを変更した5 個の追加0 個の削除を含む
  1. 5
    0
      src/freedombone-upgrade

+ 5
- 0
src/freedombone-upgrade ファイルの表示

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