From ae9055168beb33b0a195df8a8abdfedb3a99e925 Mon Sep 17 00:00:00 2001 From: gutosie Date: Fri, 12 Jan 2024 11:47:01 +0200 Subject: [PATCH] Update userscript.sh --- NeoBoot/files/userscript.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NeoBoot/files/userscript.sh b/NeoBoot/files/userscript.sh index cec9897..7c4d15c 100644 --- a/NeoBoot/files/userscript.sh +++ b/NeoBoot/files/userscript.sh @@ -31,7 +31,7 @@ else if [ -f /.control_boot_new_image ] ; then break ; else - #if [ -f /usr/lib/python2.7 ] ; then + if [ -f /etc/wl.conf.wlan3 ] || [ -f /etc/wpa_supplicant.wlan0.conf] ; then echo "....................-NEOBOOT-...................." echo "...Checking internet connection..." ping -c 1 github.com 1>/dev/null 2>%1 @@ -54,9 +54,9 @@ else echo "...github server available..." echo "...The network has a connection. It is OK..." fi - #else - #break ; - #fi + else + break ; + fi fi if [ -f /zImage ] ; then rm -r /zImage