diff --git a/run-config.sh b/run-config.sh
index 7d95bbaa062b280491406c73f195ddeb34c8d1e0..17007a899fd4e1a12c2b4d3f0f712ce169538837 100755
--- a/run-config.sh
+++ b/run-config.sh
@@ -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