Loading pgpool/configure.sh +6 −6 Original line number Diff line number Diff line Loading @@ -10,11 +10,6 @@ fi . ../contrib/functions.sh . ../contrib/config read -r -p "Configure PgPool-II. Continue ? [y/N]" choice if ! [[ $choice =~ ^([yY][eE][sS]]|[yY])$ ]]; then exit 0 fi TYPE=primary VERBOSE=false CATEGORY=a Loading @@ -33,7 +28,7 @@ usage="$(basename "$0") [-h] [-p] [-s] [-a|b] [-d] -- Script configure pgpool-II configure.sh -p -a -d -- PgPool will be configured for primary server Category A without PostgreSQL (db-primary) " while getopts ':psvhab' option; do while getopts ':psvhabd' option; do case "$option" in p) TYPE=primary ;; Loading @@ -57,6 +52,11 @@ while getopts ':psvhab' option; do esac done read -r -p "Configure PgPool-II. Continue ? [y/N]" choice if ! [[ $choice =~ ^([yY][eE][sS]]|[yY])$ ]]; then exit 0 fi read -r -p "For which server will be configured PgPool-II(primary | standby) (Default: $TYPE):" _TYPE if [[ ! -z $_TYPE ]]; then TYPE=$_TYPE Loading Loading
pgpool/configure.sh +6 −6 Original line number Diff line number Diff line Loading @@ -10,11 +10,6 @@ fi . ../contrib/functions.sh . ../contrib/config read -r -p "Configure PgPool-II. Continue ? [y/N]" choice if ! [[ $choice =~ ^([yY][eE][sS]]|[yY])$ ]]; then exit 0 fi TYPE=primary VERBOSE=false CATEGORY=a Loading @@ -33,7 +28,7 @@ usage="$(basename "$0") [-h] [-p] [-s] [-a|b] [-d] -- Script configure pgpool-II configure.sh -p -a -d -- PgPool will be configured for primary server Category A without PostgreSQL (db-primary) " while getopts ':psvhab' option; do while getopts ':psvhabd' option; do case "$option" in p) TYPE=primary ;; Loading @@ -57,6 +52,11 @@ while getopts ':psvhab' option; do esac done read -r -p "Configure PgPool-II. Continue ? [y/N]" choice if ! [[ $choice =~ ^([yY][eE][sS]]|[yY])$ ]]; then exit 0 fi read -r -p "For which server will be configured PgPool-II(primary | standby) (Default: $TYPE):" _TYPE if [[ ! -z $_TYPE ]]; then TYPE=$_TYPE Loading