mirror of
https://github.com/gutosie/neoboot.git
synced 2025-10-31 19:35:48 +01:00
Update userscript.sh
This commit is contained in:
@@ -18,6 +18,7 @@ fi
|
|||||||
if [ -f /.control_boot_new_image ] ; then
|
if [ -f /.control_boot_new_image ] ; then
|
||||||
break ;
|
break ;
|
||||||
else
|
else
|
||||||
|
if [ -f /usr/lib/python2.7 ] ; then
|
||||||
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
|
||||||
if [ $? -gt 0 ]; then
|
if [ $? -gt 0 ]; then
|
||||||
@@ -31,6 +32,10 @@ else
|
|||||||
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
|
fi
|
||||||
if [ -f /%1 ] ; then
|
if [ -f /%1 ] ; then
|
||||||
rm -f /%1
|
rm -f /%1
|
||||||
|
|||||||
Reference in New Issue
Block a user