yweb: own version check for coolstream

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@434 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6832d24f55
Author: yjogol <yjogol2@online.de>
Date: 2010-02-27 (Sat, 27 Feb 2010)



------------------
This commit was generated by Migit
This commit is contained in:
yjogol
2010-02-27 09:32:14 +00:00
parent 4b4ed1f4d9
commit afb43bdeae
2 changed files with 7 additions and 2 deletions

View File

@@ -4,7 +4,11 @@
//<![CDATA[ //<![CDATA[
function check_updates() function check_updates()
{ {
loadSyncURL("/control/exec?Y_Tools&get_update_version"); {=if-not-equal:{=global-var-get:boxtype=}~coolstream~
loadSyncURL("/control/exec?Y_Tools&get_update_version_dbox");
~
loadSyncURL("/control/exec?Y_Tools&get_update_version_coolstream");
=}
location.reload(); location.reload();
} }
//]]> //]]>

View File

@@ -566,7 +566,8 @@ case "$1" in
lcshot) shift 1; do_lcshot $* ;; lcshot) shift 1; do_lcshot $* ;;
fbshot) shift 1; do_fbshot $* ;; fbshot) shift 1; do_fbshot $* ;;
fbshot_clear) do_fbshot_clear ;; fbshot_clear) do_fbshot_clear ;;
get_update_version) wget -O /tmp/version.txt "http://www.yjogol.com/download/Y_Version.txt" ;; get_update_version_dbox) wget -O /tmp/version.txt "http://www.yjogol.com/download/Y_Version.txt" ;;
get_update_version_coolstream) wget -O /tmp/version.txt "http://www.yjogol.com/download/coolstream/Y_Version.txt" ;;
settings_backup_restore) shift 1; do_settings_backup_restore $* ;; settings_backup_restore) shift 1; do_settings_backup_restore $* ;;
exec_cmd) shift 1; $* ;; exec_cmd) shift 1; $* ;;
automount_list) shift 1; do_automount_list $* ;; automount_list) shift 1; do_automount_list $* ;;