From 98afe39474c7da768fd142769cfb75531921ca67 Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Sun, 2 Oct 2022 08:03:07 -0500 Subject: [PATCH] exclude sit and ip6 network adapters for issue #107 --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 224947c..7c50d31 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.23 +# version: 1.6.24 # 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|veth|virbr|wg"); do + for nic in $(ls /sys/class/net | grep -vE "br-|docker|dummy|ip6|lo|sit|tun|veth|virbr|wg"); do if grep -q "${nic}" ${OMV_CONFIG_FILE}; then echo "${nic} already found in database. Skipping..." continue