From 663ae4d1ca22968bf221e16fffeb583ccff85c90 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 23 Dec 2022 16:35:33 -0700 Subject: [PATCH] Update dsn.sh --- debian/resources/switch/dsn.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/debian/resources/switch/dsn.sh b/debian/resources/switch/dsn.sh index e3aea93..f731585 100755 --- a/debian/resources/switch/dsn.sh +++ b/debian/resources/switch/dsn.sh @@ -10,12 +10,12 @@ cd "$(dirname "$0")" now=$(date +%Y-%m-%d) #get the database password -if [ .$database_password = .'random' ]; then - read -p "Enter the database password: " database_password -fi +#if [ .$database_password = .'random' ]; then +# read -p "Enter the database password: " database_password +#fi #set PGPASSWORD -export PGPASSWORD=$database_password +#export PGPASSWORD=$database_password #enable auto create schemas sed -i /etc/freeswitch/autoload_configs/switch.conf.xml -e s:'::' @@ -30,15 +30,15 @@ sed -i /etc/freeswitch/autoload_configs/switch.conf.xml -e s:'" >> /etc/freeswitch/vars.xml