forked from ungleich-public/cdist
ignore errors in global explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
This commit is contained in:
parent
37eabffd9c
commit
2856684e51
3 changed files with 12 additions and 2 deletions
|
|
@ -29,6 +29,11 @@ if which ip >/dev/null 2>&1; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
if ! which ifconfig >/dev/null 2>&1; then
|
||||
# no ifconfig, nothing we could do
|
||||
exit 0
|
||||
fi
|
||||
|
||||
uname_s="$(uname -s)"
|
||||
REGEXP='s/^(.*)(:[[:space:]]*flags=|Link encap).*/\1/p'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue