From 0a6d1fa258c937744476ace05aaa88bd31982028 Mon Sep 17 00:00:00 2001 From: onefang Date: Sat, 18 Apr 2020 21:04:57 +1000 Subject: Install DG configs to. --- InstallItAll.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/InstallItAll.sh b/InstallItAll.sh index 8f9df11..0b89dd2 100755 --- a/InstallItAll.sh +++ b/InstallItAll.sh @@ -88,6 +88,10 @@ popd >/dev/null sudo cp bin/config-include/config_* ../config/ sudo ln -fs config_localhost.ini ../config/config.ini +sudo sed -i "s@MYSQL_HOST@${MYSQL_HOST}@g" ../config/config_DG.ini +sudo sed -i "s@MYSQL_DB@${MYSQL_DB}@g" ../config/config_DG.ini +sudo sed -i "s@MYSQL_USER@${MYSQL_USER}@g" ../config/config_DG.ini + sudo sed -i "s@MYSQL_HOST@${MYSQL_HOST}@g" ../config/config_IG.ini sudo sed -i "s@MYSQL_DB@${MYSQL_DB}@g" ../config/config_IG.ini sudo sed -i "s@MYSQL_USER@${MYSQL_USER}@g" ../config/config_IG.ini @@ -101,6 +105,7 @@ sudo sed -i "s@MYSQL_DB@${MYSQL_DB}@g" ../config/config_localhost.ini sudo sed -i "s@MYSQL_USER@${MYSQL_USER}@g" ../config/config_localhost.ini sudo chmod 600 ../config/*.ini +sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_DG.ini sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_IG.ini sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_MG.ini sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_localhost.ini -- cgit v1.1