tree: fix automated

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-11-30 23:26:20 +01:00
parent ea0c82fd95
commit a239db84ff

View File

@@ -483,7 +483,7 @@ function arcSettings() {
dialog --backtitle "$(backtitlep)" --colors --title "Network Config" \
--infobox "Generating Network Config..." 3 40
sleep 2
if [ "${ARCPATCH}" != "user" ]; then
if grep -vq "automated_arc" /proc/cmdline && [ "${ARCPATCH}" != "user" ]; then
getnet
fi
[ $? -ne 0 ] && return 1