NIyWeb: fix display of imageinfo ...

and disable online check; needs several fixes


Origin commit data
------------------
Branch: ni/coolstream
Commit: 477c394f29
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-12-23 (Fri, 23 Dec 2016)

Origin message was:
------------------
- NIyWeb: fix display of imageinfo ...

and disable online check; needs several fixes


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-12-23 23:40:24 +01:00
parent 77faf88b66
commit b9d92abc00
2 changed files with 17 additions and 12 deletions

View File

@@ -139,13 +139,14 @@ case "$action" in
;;
get_update_txt)
version="n/a"
wget -O /tmp/NI_release.txt "http://neutrino-images.de/neutrino-images/release/release.txt"
test -e /tmp/NI_release.txt && version=$(cat /tmp/NI_release.txt | grep ".img" | cut -d" " -f2)
echo "version=${version// /}" > /tmp/NI_update.txt
rm -f /tmp/NI_release.txt
#FIXME align url to box specs
wget -O /tmp/release.txt "http://neutrino-images.de/neutrino-images/update.php"
test -e /tmp/release.txt && version=$(cat /tmp/release.txt | grep ".img" | cut -d" " -f2)
echo "version=${version// /}" > /tmp/update.txt
rm -f /tmp/release.txt
;;
rm_update_txt)
rm -f /tmp/NI_update.txt
rm -f /tmp/update.txt
;;
get_flash_info)
MTPT=""