check internet

This commit is contained in:
gutosie
2020-01-20 22:23:50 +02:00
committed by GitHub
parent c716ad0b26
commit 77014049b4

View File

@@ -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