|
|
|
@ -16,7 +16,7 @@ while [[ ! -n "$(curl -Is https://manjaro.org | head -1)" ]]; do
|
|
|
|
|
if [[ $(cat /proc/1/comm) == "systemd" ]];then
|
|
|
|
|
if [[ $(systemctl is-active NetworkManager) == "active" ]]; then
|
|
|
|
|
dialog --backtitle ":: Manjaro Architect ::" --yesno "\nPlease connect to the internet:\n" 0 0 && \
|
|
|
|
|
clear && nmtui && continue || \
|
|
|
|
|
clear && sudo nmtui && continue || \
|
|
|
|
|
clear && exit 0
|
|
|
|
|
else
|
|
|
|
|
dialog --backtitle ":: Manjaro Architect ::" --title " Error: " --msgbox "\nNo network service detected!\nquitting." 0 0 && \
|
|
|
|
|