From f4131df01a87a668675a8bbc3cd33d826807f241 Mon Sep 17 00:00:00 2001 From: Aaron Murray Date: Mon, 8 Feb 2021 10:55:25 -0600 Subject: [PATCH] exclude wireguard interfaces --- install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install b/install index 2786ccd..3241275 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.2.14 +# version: 1.2.15 # if [[ $(id -u) -ne 0 ]]; then @@ -482,7 +482,7 @@ if [ ${version} -gt 4 ] && [ ${skipNet} -ne 1 ]; then ${rfkill} unblock all fi - for nic in $(ls /sys/class/net | grep -vE "br-|docker|dummy|lo|tun|virbr"); do + for nic in $(ls /sys/class/net | grep -vE "br-|docker|dummy|lo|tun|virbr|wg"); do if grep -q "${nic}" ${OMV_CONFIG_FILE}; then echo "${nic} already found in database. Skipping..." continue