Use database_username variable from config.sh
This commit is contained in:
parent
bc7bdb95a6
commit
c6fa300858
|
|
@ -34,7 +34,7 @@ sed -i "s/zzz/$database_password/g" /etc/cron.daily/fusionpbx-maintenance
|
||||||
mkdir -p /etc/fusionpbx
|
mkdir -p /etc/fusionpbx
|
||||||
cp fusionpbx/config.conf /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_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:"
|
sed -i /etc/fusionpbx/config.conf -e s:"{database_password}:$database_password:"
|
||||||
|
|
||||||
#add the database schema
|
#add the database schema
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue