Allow ifconfig to be called from any directory

ifconfig.sh depends on config.guess for platform guessing. It uses it to
choose between ifconfig or ip tools to configure interfaces. If
system-wide automake script is installed and local was not found, use
platform guess. It should work well on mostly any sane platform. Still
prefers local guess, but passes when if cannot find it.

(cherry picked from commit 38301052e1)
This commit is contained in:
Petr Menšík
2019-03-12 14:10:40 +11:00
committed by Mark Andrews
parent 4e0e40dee7
commit 2b526cf8e1
+1 -1
View File
@@ -21,7 +21,7 @@
#
config_guess=""
for f in ./config.guess ../../../config.guess
for f in ./config.guess ../../../config.guess /usr/share/automake*/config.guess
do
if test -f $f
then