From 37d36f568974e399547c420ddd0622af8d887302 Mon Sep 17 00:00:00 2001 From: Andy Witter Date: Thu, 16 May 2013 09:00:59 -0400 Subject: [PATCH] Update from eg_db_config.pl to eg_db_config --- GenaSYS.sh | 6 +++--- templates/setup-head.sh | 4 ++-- templates/setup.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/GenaSYS.sh b/GenaSYS.sh index 484f99f..f24a99f 100755 --- a/GenaSYS.sh +++ b/GenaSYS.sh @@ -25,8 +25,8 @@ PURPOSE_="Generate config files needed for Evergreen-ILS Cluster" SYNOPSIS_="$NAME_" REQUIRES_="standard GNU commands, apt, dpkg" - VERSION_="1.08" - DATE_="2010-09-18; last update: 2013-05-15" + VERSION_="1.09" + DATE_="2010-09-18; last update: 2013-05-16" AUTHOR_="Andy Witter " URL_="http://evergreen-ils.org" CATEGORY_="devel" @@ -2417,7 +2417,7 @@ do if echo ${SUBFOLDER} | grep -q head then cp -f $TEMPLATEDIR/setup_brick_to_drone_sshkeys.sh ../setup_${SUBFOLDER}/setup_${SUBFOLDER}_to_drone_sshkeys.sh - cp -f $TEMPLATEDIR/db/eg_db_config.pl ../setup_${SUBFOLDER} + #cp -f $TEMPLATEDIR/db/eg_db_config.pl ../setup_${SUBFOLDER} [ -e "${CUSTOMDIR}/lib_ips.txt" ] && cp "${CUSTOMDIR}/lib_ips.txt" ../setup_${SUBFOLDER} sed -i "s^brick_drones.txt^${SUBFOLDER}_drones.txt^g" ../setup_${SUBFOLDER}/setup_${SUBFOLDER}_to_drone_sshkeys.sh sed -i "s^MASTER_DB^$MASTER_DB^g" setup-head.sh diff --git a/templates/setup-head.sh b/templates/setup-head.sh index d61ae4a..0bbce62 100755 --- a/templates/setup-head.sh +++ b/templates/setup-head.sh @@ -26,7 +26,7 @@ fi Prep_DB_9_X () { #Prepare the database schema -/openils/bin/eg_db_config.pl --service all --create-schema --create-offline --create-database \ +/openils/bin/eg_db_config --service all --create-schema --create-offline --create-database \ --user EG_DB_USER --password EG_DB_PASSWORD --hostname MASTER_DB.CLUSTER_DOMAINNAME --port 5432 \ --database evergreen --admin-user EG_ADMIN_USER --admin-pass EG_ADMIN_PASS @@ -269,7 +269,7 @@ fi ### create opensrf offline configuraton. echo "Creating opensrf offline configuration." -su - opensrf -c "/openils/bin/eg_db_config.pl --create-offline" +su - opensrf -c "/openils/bin/eg_db_config --create-offline" ### setup ldiretor ping file echo "pong" > /openils/var/web/ldirectorping.txt- diff --git a/templates/setup.sh b/templates/setup.sh index 1251d6f..36a958c 100755 --- a/templates/setup.sh +++ b/templates/setup.sh @@ -586,7 +586,7 @@ fi ### Setup offline for all OpenSRF nodes. if [ "$OSRF_NODE" = "1" ] then - su - opensrf -c eg_db_config.pl --create-offline + su - opensrf -c eg_db_config --create-offline fi ### Display LVS Notes. -- 2.11.0