diff --git a/html/update.php b/html/update.php index 56adbae..56733dd 100644 --- a/html/update.php +++ b/html/update.php @@ -21,6 +21,12 @@ if (is_numeric($github_version_date)) { echo "GitHub PiRadio version: ".$github_version.". Last commit: ".date("d.m.Y H:i:s",$github_version_date)."."; echo "

Do you really want to update your PiRadio from github repository.
"; echo "
After update your PiRadio will be rebooted!"; + if (file_exists( "/usr/share/piradio-mini-master/html/scripts/update.sh" )) { + echo "
Warning!
"; + echo "This update includes additional system upgrades.
"; + echo "The update procedure may take more than 5 minutes.
"; + echo "Do not turn off the PiRadio until a full restart.
"; + } } else { echo "Problem with download update files from GitHub!!!."; }