From 088566b5911c007e98bfab466422b369b776d2cc Mon Sep 17 00:00:00 2001 From: Vinicius Ruoso <vkr07@c3sl.ufpr.br> Date: Thu, 11 Feb 2010 10:45:22 -0200 Subject: [PATCH] run-config.sh: Removed hard-coded inep and proxy configuration The inep and proxy settings were hard-coded. The inep configuration is now retrieved from client/conf/inep file. The proxy configuration is now retrieved from getProxyConf() (see previous commit). Signed-off-by: Vinicius Ruoso <vkr07@c3sl.ufpr.br> Acked-by: Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br> Acked-by: Diego Giovane Pasqualin <dgp06@c3sl.ufpr.br> Acked-by: Josiney de Souza <josineys@c3sl.ufpr.br> Signed-off-by: Danilo K. S. Yorinori <danilok@c3sl.ufpr.br> --- run-config.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/run-config.sh b/run-config.sh index 8596010..f0d1cf5 100755 --- a/run-config.sh +++ b/run-config.sh @@ -49,14 +49,14 @@ dirname=$(dirname $0) basename=$(basename ${dirname}) bindir=${dirname}/bin +# Get common functions +source ${dirname}/common.sh + # In the future, will be replaced by mac address mac=$(hostname) url="http://colombard.c3sl.ufpr.br/tomcat/axis/Seed2.jws" -inep=9999 -phost= -pport= -puid= -ppasswd= +inep=$(cat ${dirname}/conf/inep) +getProxyConf # Timestamp date +"%F %T" >> ${dirname}/run.log -- GitLab