From 14df153fecaae9f62fcefbfac601be4ec4eefd52 Mon Sep 17 00:00:00 2001 From: gutosie Date: Sat, 20 Jan 2024 20:20:28 +0200 Subject: [PATCH] Update userscript.sh --- NeoBoot/files/userscript.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/NeoBoot/files/userscript.sh b/NeoBoot/files/userscript.sh index f181576..1fd25b2 100644 --- a/NeoBoot/files/userscript.sh +++ b/NeoBoot/files/userscript.sh @@ -25,9 +25,6 @@ break ; else echo "....................-NEOBOOT-...................." - if [ -e /sys/class/net/sys0 ]; then - ifconfig sys0 up - fi echo "...Checking internet connection..." ping -c 1 github.com 1>/dev/null 2>%1 if [ $? -gt 0 ]; then @@ -39,8 +36,7 @@ sync echo "...Restart network finish..." echo ".............................." - sleep 1 - sleep 5 + sleep 2 else echo "github server available" echo "The network has a connection. It is OK"