|
|
@ -16,13 +16,12 @@ echo "Software-based jailbreak for IvyBridge (xx30) series ThinkPads"
|
|
|
|
echo "Revision 3"
|
|
|
|
echo "Revision 3"
|
|
|
|
|
|
|
|
|
|
|
|
# Give the network time to come online
|
|
|
|
# Give the network time to come online
|
|
|
|
echo -e "\e[1;32mWaiting for Network...\e[0m"
|
|
|
|
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
|
|
|
|
sleep 2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# update script if networked
|
|
|
|
# update script if networked
|
|
|
|
if [[ $updated != "r3" ]] && ping -q -c 1 -W 1 8.8.8.8 >/dev/null; then
|
|
|
|
if [[ $updated != "r3" ]] && ping -q -c 1 -W 1 8.8.8.8 >/dev/null; then
|
|
|
|
rm /home/ivy/start.sh
|
|
|
|
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"
|
|
|
|
export updated="r3"
|
|
|
|
echo 'export updated=r3' >> /home/ivy/.bashrc
|
|
|
|
echo 'export updated=r3' >> /home/ivy/.bashrc
|
|
|
|
bash /home/ivy/start.sh
|
|
|
|
bash /home/ivy/start.sh
|
|
|
|