浏览代码

Return of the database password

Bob Mottram 8 年前
父节点
当前提交
e973bce5e0
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4
    0
      src/freedombone-restore-local

+ 4
- 0
src/freedombone-restore-local 查看文件

44
     PROJECT_INSTALL_DIR=/usr/bin
44
     PROJECT_INSTALL_DIR=/usr/bin
45
 fi
45
 fi
46
 
46
 
47
+# MariaDB password
48
+DATABASE_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
49
+
47
 function please_wait {
50
 function please_wait {
48
         local str width height length
51
         local str width height length
49
 
52
 
230
             echo $"Ensure MariaDB handles authentication"
233
             echo $"Ensure MariaDB handles authentication"
231
             MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
234
             MARIADB_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
232
             mariadb_fix_authentication
235
             mariadb_fix_authentication
236
+            DATABASE_PASSWORD=$(${PROJECT_NAME}-pass -u root -a mariadb)
233
         fi
237
         fi
234
         rm -rf $temp_restore_dir
238
         rm -rf $temp_restore_dir
235
     fi
239
     fi