{
# If $TEST_SAMPLES = "true", use sample scripts and config files
if [ $TEST_SAMPLES = "true" ]; then
- cp -p $PGPOOLDIR/scripts/failover.sh.sample $FAILOVER_SCRIPT
+ cp -p $PGPOOLDIR/sample_scripts/failover.sh.sample $FAILOVER_SCRIPT
# Rewrite script
PGHOMEVER=`expr $PGVERSION / 10`
/bin/sed -i \
{
# If $TEST_SAMPLES = "true", use sample scripts and config files
if [ $TEST_SAMPLES = "true" ]; then
- cp -p $PGPOOLDIR/scripts/follow_primary.sh.sample $FOLLOW_PRIMARY_SCRIPT
+ cp -p $PGPOOLDIR/sample_scripts/follow_primary.sh.sample $FOLLOW_PRIMARY_SCRIPT
# Rewrite script
PGHOMEVER=`expr $PGVERSION / 10`
/bin/sed -i \
{
# If $TEST_SAMPLES = "true", use sample scripts and config files
if [ $TEST_SAMPLES = "true" ]; then
- cp -p $PGPOOLDIR/scripts/pgpool_remote_start.sample $1/$PGPOOL_REMOTE_START_SCRIPT
+ cp -p $PGPOOLDIR/sample_scripts/pgpool_remote_start.sample $1/$PGPOOL_REMOTE_START_SCRIPT
# Rewrite script
PGHOMEVER=`expr $PGVERSION / 10`
/bin/sed -i \
# If $TEST_SAMPLES = "true", use sample scripts and config files
if [ $TEST_SAMPLES = "true" ]; then
- cp -p $PGPOOLDIR/scripts/recovery_1st_stage.sample $1/$SCRIPT
+ cp -p $PGPOOLDIR/sample_scripts/recovery_1st_stage.sample $1/$SCRIPT
# Rewrite script
PGHOMEVER=`expr $PGVERSION / 10`
/bin/sed -i \
# If $TEST_SAMPLES = "true", use sample scripts and config files
if [ $TEST_SAMPLES = "true" ]; then
- cp -p $PGPOOLDIR/scripts/replication_mode_recovery_1st_stage.sample $1/$SCRIPT
+ cp -p $PGPOOLDIR/sample_scripts/replication_mode_recovery_1st_stage.sample $1/$SCRIPT
# Rewrite script
PGHOMEVER=`expr $PGVERSION / 10`
/bin/sed -i \
# If $TEST_SAMPLES = "true", use sample scripts and config files
if [ $TEST_SAMPLES = "true" ]; then
- cp -p $PGPOOLDIR/scripts/replication_mode_recovery_2nd_stage.sample $1/$SCRIPT
+ cp -p $PGPOOLDIR/sample_scripts/replication_mode_recovery_2nd_stage.sample $1/$SCRIPT
# Rewrite script
PGHOMEVER=`expr $PGVERSION / 10`
/bin/sed -i \