yWeb/Y_Info_Updates: remove /tmp/update.txt after reading

Origin commit data
------------------
Branch: ni/coolstream
Commit: fda3cff106
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-03-03 (Fri, 03 Mar 2023)

Origin message was:
------------------
- yWeb/Y_Info_Updates: remove /tmp/update.txt after reading

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-03-03 23:06:46 +01:00
parent 8c96fd1764
commit 84f514b689
3 changed files with 5 additions and 1 deletions

View File

@@ -41,5 +41,8 @@ function check_updates()
</table>
</div>
</div>
<script>
loadSyncURL("/control/exec?Y_Tools&rm_update_version");
</script>
</body>
</html>

View File

@@ -1,3 +1,3 @@
version=3.0.51
version=3.0.52
date=03.03.2023
info=NI-Neutrino-Webinterface

View File

@@ -494,6 +494,7 @@ case "$1" in
fbshot_clear) do_fbshot_clear ;;
screenshot_clear) do_screenshot_clear ;;
get_update_version) wget -O /tmp/version.txt "https://raw.githubusercontent.com/neutrino-images/ni-neutrino/master/data/y-web/Y_Version.txt" ;;
rm_update_version) rm -f /tmp/version.txt ;;
settings_backup_restore) shift 1; do_settings_backup_restore $* ;;
exec_cmd) shift 1; $* ;;
automount_list) shift 1; do_automount_list $* ;;