mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
only run network setup if not already done
This commit is contained in:
parent
9cb07e5a23
commit
8a7fbfc875
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue