From 4dcdedcb56e6b744afcd7e82e67ef5c54b046df5 Mon Sep 17 00:00:00 2001 From: gutosie Date: Wed, 15 Dec 2021 07:10:33 +0200 Subject: [PATCH] Update userscript.sh --- NeoBoot/files/userscript.sh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/NeoBoot/files/userscript.sh b/NeoBoot/files/userscript.sh index 445d760..974fa91 100644 --- a/NeoBoot/files/userscript.sh +++ b/NeoBoot/files/userscript.sh @@ -20,11 +20,8 @@ else echo -n "github server unavailable" echo -n "The network has no connection. It is not OK" echo -n "Network restart..." - /etc/init.d/networking stop; - echo "_____stopping network connection_____" - sleep 2 - echo "_____start network connection_____" - /etc/init.d/networking start; + echo "_____restart network connection_____" + /etc/init.d/networking restart; sleep 5 else echo "github server available"