Update userscript.sh

This commit is contained in:
gutosie
2024-01-12 14:30:41 +02:00
committed by GitHub
parent 102a7a0039
commit e821c5662b

View File

@@ -16,10 +16,6 @@
/usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh /usr/lib/enigma2/python/Plugins/Extensions/NeoBoot/files/mountpoint.sh
echo "...Start -mountpoint.sh- location NEOBOOT..." echo "...Start -mountpoint.sh- location NEOBOOT..."
fi fi
if [ -f /.control_boot_new_image ] ; then
break ;
else
if [ -f /etc/wl.conf.wlan3 ] || [ -f /etc/wpa_supplicant.wlan0.conf] ; then
echo "....................-NEOBOOT-...................." echo "....................-NEOBOOT-...................."
echo "...Checking internet connection..." echo "...Checking internet connection..."
ping -c 1 github.com 1>/dev/null 2>%1 ping -c 1 github.com 1>/dev/null 2>%1
@@ -46,10 +42,7 @@
echo "...github server available..." echo "...github server available..."
echo "...The network has a connection. It is OK..." echo "...The network has a connection. It is OK..."
fi fi
else
break ;
fi
fi
if [ -f /zImage ] ; then if [ -f /zImage ] ; then
rm -r /zImage rm -r /zImage
fi fi
@@ -67,3 +60,4 @@
echo "............................................" echo "............................................"
exit 0 exit 0