Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
arevindh authored Sep 27, 2019
1 parent 7f3f76b commit f7a212d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ if [ $EUID != 0 ]; then
exit $?
fi

if (whiptail --title "Pihole Speedtest Mod Updater" --yesno "Proceed to update ?" 8 78)
then
echo "Proceeding with update"
else
exit 1;
fi

whiptail --title "Pihole Speedtest Mod " --msgbox "Pihole Speedtest Mod Updater. \nSupport : https://github.com/arevindh/pihole-speedtest " 8 78

echo "Updating Pihole and Speedtest-mod"
Expand All @@ -26,7 +33,8 @@ pihole -up

#Update lastest speedtest-mod
cd /var/www/html
mv admin admin_org
rm -rf admin_bak
mv admin admin_bak
git clone https://github.com/TooManyEggrolls/AdminLTE admin

#Update latest webpage.sh for speedtest-mod
Expand Down

0 comments on commit f7a212d

Please sign in to comment.