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:
committed by
Mark Andrews
parent
4e0e40dee7
commit
2b526cf8e1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user