Use database_username variable from config.sh

This commit is contained in:
FusionPBX
2022-10-12 10:11:32 -06:00
committed by GitHub
parent bc7bdb95a6
commit c6fa300858

View File

@@ -34,7 +34,7 @@ sed -i "s/zzz/$database_password/g" /etc/cron.daily/fusionpbx-maintenance
mkdir -p /etc/fusionpbx
cp fusionpbx/config.conf /etc/fusionpbx
sed -i /etc/fusionpbx/config.conf -e s:"{database_host}:$database_host:"
sed -i /etc/fusionpbx/config.conf -e s:'{database_username}:fusionpbx:'
sed -i /etc/fusionpbx/config.conf -e s:"{database_username}:$database_username:"
sed -i /etc/fusionpbx/config.conf -e s:"{database_password}:$database_password:"
#add the database schema