From 0087938f6fda92f0959a7723d82a3f78310a1997 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 10 Oct 2022 09:04:03 -0600 Subject: [PATCH] Update finish.sh --- centos/resources/finish.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/centos/resources/finish.sh b/centos/resources/finish.sh index 8f93f8d..e0778c9 100755 --- a/centos/resources/finish.sh +++ b/centos/resources/finish.sh @@ -30,6 +30,12 @@ sed -i /etc/fusionpbx/config.php -e s:"{database_host}:$database_host:" sed -i /etc/fusionpbx/config.php -e s:'{database_username}:fusionpbx:' sed -i /etc/fusionpbx/config.php -e s:"{database_password}:$database_password:" +#add the config.conf +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_password}:$database_password:" + #add the database schema cd /var/www/fusionpbx && php /var/www/fusionpbx/core/upgrade/upgrade_schema.php > /dev/null 2>&1