From 95832ddebfe92bbc2ce06ecdc2999bea27cede80 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 6 Jan 2024 11:37:29 +0200 Subject: [PATCH] Update userscript.sh --- NeoBoot/files/userscript.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/NeoBoot/files/userscript.sh b/NeoBoot/files/userscript.sh index 69d127e..ae7f33f 100644 --- a/NeoBoot/files/userscript.sh +++ b/NeoBoot/files/userscript.sh @@ -18,6 +18,7 @@ fi if [ -f /.control_boot_new_image ] ; then break ; else + if [ -f /usr/lib/python2.7 ] ; then echo "_(Checking internet connection)..." ping -c 1 github.com 1>/dev/null 2>%1 if [ $? -gt 0 ]; then @@ -31,6 +32,10 @@ else echo "github server available" echo "The network has a connection. It is OK" fi + else + break ; + + fi fi if [ -f /%1 ] ; then rm -f /%1