forked from norman/fusionpbx-install.sh-github-mirror
Use database_username variable from config.sh
This commit is contained in:
2
debian/resources/finish.sh
vendored
2
debian/resources/finish.sh
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user