From 4f1793087fb8360709247f63551706d76dd92203 Mon Sep 17 00:00:00 2001 From: Oleksandr B <2480-beliys@users.noreply.gitlab.manjaro.org> Date: Fri, 20 Jan 2023 11:34:02 +0000 Subject: [PATCH] nmtui requires sudo --- bin/setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/setup b/bin/setup index fe6b3ab..4eff99e 100644 --- a/bin/setup +++ b/bin/setup @@ -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 && \