Update finish.sh
This commit is contained in:
parent
1323e263b2
commit
d45ccff418
|
|
@ -18,6 +18,9 @@ fi
|
||||||
#allow the script to use the new password
|
#allow the script to use the new password
|
||||||
export PGPASSWORD=$database_password
|
export PGPASSWORD=$database_password
|
||||||
|
|
||||||
|
#install the dependencies
|
||||||
|
pkg install --yes sudo
|
||||||
|
|
||||||
#update the database password
|
#update the database password
|
||||||
sudo -u postgres psql -c "ALTER USER fusionpbx WITH PASSWORD '$database_password';"
|
sudo -u postgres psql -c "ALTER USER fusionpbx WITH PASSWORD '$database_password';"
|
||||||
sudo -u postgres psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';"
|
sudo -u postgres psql -c "ALTER USER freeswitch WITH PASSWORD '$database_password';"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue