Skip to content
Snippets Groups Projects
Commit 88f958b9 authored by ERIK ALEXANDRE PUCCI's avatar ERIK ALEXANDRE PUCCI Committed by Danilo K. S. Yorinori
Browse files

run-config.sh: Changed "route" for "/sbin/route"


In some computers (e.g. UCA Classmates), route path is not defined in the
PATH variable.

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Acked-by: default avatarDiego Giovane Pasqualin <dgp06@c3sl.ufpr.br>
Signed-off-by: default avatarDanilo K. S. Yorinori <danilok@c3sl.ufpr.br>
parent fdd25527
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ proxy="${phost} ${pport} ${puid} ${ppasswd}"
inep="--inep=${inep}"
interface=""
if test $(route | grep default | wc -l) -gt 1; then
if test $(/sbin/route | grep default | wc -l) -gt 1; then
getNetworkInterface
interface="--nic=${interface}"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment