From ba79e416c828bc77d98c6b9c6512273df838fa9f Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Mon, 26 Sep 2022 08:40:38 -0500 Subject: [PATCH] skip veth adapters --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 27b25c5..224947c 100755 --- a/install +++ b/install @@ -13,7 +13,7 @@ # https://github.com/armbian/config/blob/master/debian-software # https://forum.openmediavault.org/index.php/Thread/25062-Install-OMV5-on-Debian-10-Buster/ # -# version: 1.6.22 +# version: 1.6.23 # if [[ $(id -u) -ne 0 ]]; then @@ -541,7 +541,7 @@ if [ ${skipNet} -ne 1 ]; then ${rfkill} unblock all fi - for nic in $(ls /sys/class/net | grep -vE "br-|docker|dummy|lo|tun|virbr|wg"); do + for nic in $(ls /sys/class/net | grep -vE "br-|docker|dummy|lo|tun|veth|virbr|wg"); do if grep -q "${nic}" ${OMV_CONFIG_FILE}; then echo "${nic} already found in database. Skipping..." continue