From 50e9a816bb50f03efb7a8337bbb0bdeb716f53f2 Mon Sep 17 00:00:00 2001 From: Gregory Colpart Date: Wed, 4 Feb 2015 21:01:07 +0100 Subject: [PATCH] add non physical interfaces --- evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evocheck.sh b/evocheck.sh index 8817071..167241b 100755 --- a/evocheck.sh +++ b/evocheck.sh @@ -322,7 +322,7 @@ if [ -e /etc/debian_version ]; then # Verify if all if are in auto if [ "$IS_AUTOIF" = 1 ]; then - for interface in `/sbin/ifconfig -s |tail -n +2 |egrep -v "^(lo|vnet)" |cut -d " " -f 1 |tr "\n" " "`; do + for interface in `/sbin/ifconfig -s |tail -n +2 |egrep -v "^(lo|vnet|docker|veth)" |cut -d " " -f 1 |tr "\n" " "`; do grep -q "^auto $interface" /etc/network/interfaces || (echo 'IS_AUTOIF FAILED!' && break) done fi