From 77014049b44d414b9e953181d1b0c85450667db0 Mon Sep 17 00:00:00 2001 From: gutosie Date: Mon, 20 Jan 2020 22:23:50 +0200 Subject: [PATCH] check internet --- NeoBoot/files/S50fat.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/NeoBoot/files/S50fat.sh b/NeoBoot/files/S50fat.sh index 4147be8..8bd83b1 100644 --- a/NeoBoot/files/S50fat.sh +++ b/NeoBoot/files/S50fat.sh @@ -11,7 +11,10 @@ if [ ! -e /usr/bin/ipkg-cl ]; then fi #echo "Start network and telnet ..." -#/etc/init.d/networking stop; sync; /etc/init.d/networking start; +cd /tmp; curl -O --ftp-ssl https://raw.githubusercontent.com/gutosie/NeoBoot8/master/ver.txt; cd / +if [ ! -f /tmp/ver.txt ] ; then + /etc/init.d/networking stop; sync; /etc/init.d/networking start; +fi if [ -f /etc/init.d/inadyn-mt ] ; then