From 530d1685f458ad1abd553570338178817f474139 Mon Sep 17 00:00:00 2001 From: Erik Alexandre Pucci <eap08@c3sl.ufpr.br> Date: Tue, 29 Jun 2010 16:15:15 -0300 Subject: [PATCH] run-config.sh: Updated client call Signed-off-by: Erik Alexandre Pucci <eap08@c3sl.ufpr.br> Acked-by: Diego Giovane Pasqualin <dgp06@c3sl.ufpr.br> Acked-by: Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br> Signed-off-by: Danilo K. S. Yorinori <danilok@c3sl.ufpr.br> --- run-config.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/run-config.sh b/run-config.sh index 01c6c5a..49f267f 100755 --- a/run-config.sh +++ b/run-config.sh @@ -87,19 +87,16 @@ if test $# -gt 1; then >> ${dirname}/run.log exit 101 elif test $# -eq 0; then - ${bindir}/client "${url}" "${inep}" "${mac}" "${phost}" "${pport}" \ - "${puid}" "${ppasswd}" >> ${dirname}/run.log + ${bindir}/client ${url} ${inep} ${mac} ${proxy} >> ${dirname}/run.log elif [[ $1 == "--update" ]]; then - retstr=$(${bindir}/client $1 "${url}" "${inep}" "${mac}" "${phost}" \ - "${pport}" "${puid}" "${ppasswd}") + retstr=$(${bindir}/client $1 ${url} ${proxy}) retval=$? if test ${retval} -eq 4; then echo "$retstr" | tee -a ${dirname}/run.log fi exit $retval elif [[ $1 == "--inventory" ]]; then - ${bindir}/client "$1" "${url}" "${inep}" "${mac}" "${phost}" "${pport}" \ - "${puid}" "${ppasswd}" >> ${dirname}/run.log + ${bindir}/client $1 ${url} ${inep} ${proxy} >> ${dirname}/run.log else echo "Run.sh call: wrong parameter (\"$1\")." >> ${dirname}/run.log exit 102 -- GitLab