Skip to content
Snippets Groups Projects
Commit 8ebf466d authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci Committed by Danilo K. S. Yorinori
Browse files

run-config.sh: Added inventory option for generated run.sh


run-config.sh generates run.sh with inventory option verification. run.sh
calls the client with appropriate parameters in three cases: with no option,
with update option (--update) and with inventory option (--inventory).

Each one of those options determine a different client behavior. Besides
them, there is the proxy configuration, also passed as parameters to client.

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarDiego Giovane Pasqualin <dgp06@c3sl.ufpr.br>
Acked-by: default avatarJosiney de Souza <josineys@c3sl.ufpr.br>
Acked-by: default avatarRicardo Tavares de Oliveira <rto07@c3sl.ufpr.br>
Signed-off-by: default avatarDanilo K. S. Yorinori <danilok@c3sl.ufpr.br>
parent 5b7714be
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,9 @@ if [[ $# == 1 && $1 == "--update" ]]; then ...@@ -67,6 +67,9 @@ if [[ $# == 1 && $1 == "--update" ]]; then
retval=$? retval=$?
echo "$retstr" >> ${dirname}/run.log echo "$retstr" >> ${dirname}/run.log
exit $retval exit $retval
elif [[ $1 == "--inventory" ]]; then
${bindir}/client $1 ${url} ${inep} ${mac} ${phost} ${pport} ${puid} \
${ppasswd} >> ${dirname}/run.log 2>&1
else else
${bindir}/client ${url} ${inep} ${mac} ${phost} ${pport} ${puid} \ ${bindir}/client ${url} ${inep} ${mac} ${phost} ${pport} ${puid} \
${ppasswd} >> ${dirname}/run.log 2>&1 ${ppasswd} >> ${dirname}/run.log 2>&1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment