diff --git a/scripts/Common/Scripts/wait-network.fish b/scripts/Common/Scripts/wait-network.fish index 8b2b1e9a..c1cbb9a5 100644 --- a/scripts/Common/Scripts/wait-network.fish +++ b/scripts/Common/Scripts/wait-network.fish @@ -4,9 +4,8 @@ function waitNetwork -a witness set -l codeFile (mktemp) if [ -z "$witness" ] - tmux new-session -d 'cat /etc/motd; echo "$(tput bold)Please establish an internet connection…$(tput sgr0)"; $SHELL' - if not systemctl --quiet is-active network-online.target + tmux new-session -d 'cat /etc/motd; echo "$(tput bold)Please establish an internet connection…$(tput sgr0)"; $SHELL' fish (status filename) true & set -l pid "$last_pid"