From 50378e29ff6ee0ac45ce901e414764f563a980f8 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 4 Jan 2017 20:22:09 -0700 Subject: [PATCH] Update fusionpbx.sh --- debian/resources/fusionpbx.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/debian/resources/fusionpbx.sh b/debian/resources/fusionpbx.sh index ef14f6a..bf73f8a 100755 --- a/debian/resources/fusionpbx.sh +++ b/debian/resources/fusionpbx.sh @@ -28,3 +28,10 @@ fi git clone $BRANCH https://github.com/fusionpbx/fusionpbx.git /var/www/fusionpbx chown -R www-data:www-data /var/www/fusionpbx chmod -R 755 /var/www/fusionpbx/secure + +#create the /etc/fusionpbx directory and copy the config.php into it +#mkdir -p /etc/fusionpbx +#chown -R www-data:www-data /etc/fusionpbx +#cp fusionpbx/config.php /etc/fusionpbx +#sed -i /etc/fusionpbx/config.php -e s:'{database_username}:fusionpbx:' +#sed -i /etc/fusionpbx/config.php -e s:'{database_password}:1234:'