From 8a7fbfc87584b0ee6afc492414860a02da461180 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 23 Jan 2022 10:48:31 +0100 Subject: [PATCH] only run network setup if not already done --- usr/bin/archboot-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/bin/archboot-setup.sh b/usr/bin/archboot-setup.sh index b5c9b3a75..1c77d2cd3 100755 --- a/usr/bin/archboot-setup.sh +++ b/usr/bin/archboot-setup.sh @@ -2717,7 +2717,7 @@ auto_testing() # check for already active profile check_nework() { for i in /etc/netctl/*; do - [[ -f "${i}" ]] && netctl -is-active "${i}" && S_NET=1 + [[ -f "${i}" ]] && netctl -is-active "$(basename "${i}")" && S_NET=1 done [[ "${S_NET}" == "1" ]] || donetwork }