Minor update.

pull/28/head
George Kushnir 4 years ago
parent b25195c7d4
commit 4a91a8b439

@ -16,15 +16,14 @@ echo "Software-based jailbreak for IvyBridge (xx30) series ThinkPads"
echo "Revision 3"
# Give the network time to come online
echo -e "\e[1;32mWaiting for Network...\e[0m"
sleep 2
if ! ping -q -c 1 -W 1 8.8.8.8 >/dev/null; then echo -e "\e[1;32mWaiting 10 seconds for Network...\e[0m" && sleep 10; fi
# update script if networked
if [[ $updated != "r3" ]] && ping -q -c 1 -W 1 8.8.8.8 >/dev/null; then
rm /home/ivy/start.sh
wget -q https://1vyra.in/start.sh -O /home/ivy/start.sh
wget -q https://1vyra.in/start.sh --no-check-certificate -O /home/ivy/start.sh
export updated="r3"
echo 'export updated=r3' >> /home/ivy/.bashrc
echo 'export updated=r3' >> /home/ivy/.bashrc
bash /home/ivy/start.sh
exit 1
fi

Loading…
Cancel
Save