Skip to content

Commit 2bb8a1d

Browse files
committed
don't attempt to bring up wifi or wifi services if is_mini_og
1 parent 5d5612d commit 2bb8a1d

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

miyoo285/app/MainUI

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ rotate_logs && log_message "sprigUI has entered the chat"
3737
if [ -e /mnt/SDCARD/sprig/flags/lastgame.lock ]; then
3838
DISABLE_WIFI="$(get_config_value '.menuOptions."Lid and Power Settings".disableWifiInGame.selected' "False")"
3939
WIFI_ENABLED="$(get_pyui_config_value '.wifi' 1)"
40-
if [ "$DISABLE_WIFI" = "False" ] && [ "$WIFI_ENABLED" -eq 1 ]; then
40+
if [ "$DISABLE_WIFI" = "False" ] && [ "$WIFI_ENABLED" -eq 1 ] && ! is_mini_og; then
4141
/mnt/SDCARD/sprig/scripts/network/start_wifi.sh
4242
fi
4343
freemma
@@ -51,7 +51,9 @@ fi
5151
while true; do
5252

5353
# Start and stop network services as configured.
54-
/mnt/SDCARD/sprig/scripts/network/start_stop_services.sh &
54+
if ! is_mini_og; then
55+
/mnt/SDCARD/sprig/scripts/network/start_stop_services.sh &
56+
fi
5557

5658
# Start battery, lid, and button watchdogs only if necessary.
5759
for thing in battery lid button; do

0 commit comments

Comments
 (0)