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.
This commit is contained in:
Petr Menšík
2019-02-25 10:58:14 +01:00
committed by Mark Andrews
parent faa0de1349
commit 38301052e1

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