From e057188d639148ad73ad919095ff91807d081252 Mon Sep 17 00:00:00 2001 From: Björn Geiger Date: Thu, 30 Jun 2011 10:26:40 +0200 Subject: installationsscript angepassst2 --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 73d1cca..29662b5 100755 --- a/install.sh +++ b/install.sh @@ -64,6 +64,10 @@ echo -n "Enter database name: " read db_name sed -e "14s/\$/$db_name/" -i $targetDir/application/configs/application.ini +echo -n "Please enter host of pbs2: " +read pbs2_host +sed -e "18s/\$/$pbs2_host/" -i $targetDir/application/configs/application.ini + echo "Create database and tables" cat $targetDir/setup/poolctrl.sql | sed -e "s,##poolctrl##,$db_name," > /tmp/poolctrl.sql mysql -u $db_admin -p$db_adminpass < /tmp/poolctrl.sql -- cgit v1.2.3-55-g7522