#!/bin/bash

UPDATER="lastupdate2024"

clear
cd /root
if [ -e "$UPDATER" ]
then
 rm $UPDATER
fi

echo "This update utility goes to IncrediblePBX.com to retrieve the latest updates."
echo "We test updates before release, but NO WARRANTY EXPRESS OR IMPLIED IS PROVIDED."
echo "We humbly request a voluntary \$20 contribution to support the update service."
echo "To sign up and contribute using a credit card, go to: http://nerd.bz/QwQkYO"
echo " "
read -p "To proceed solely at your own risk, press Enter. Otherwise, Ctrl-C to abort."
echo " "
echo -n "Retrieving... "
wget -q http://incrediblepbx.com/$UPDATER.tar.gz
tar zxvf $UPDATER.tar.gz
rm $UPDATER.tar.gz
/root/$UPDATER
rm $UPDATER

