Page 1 of 1

[Solved] Patch for HDD temp on web site not working

Posted: 09 Jan 2012, 19:47
by eramoli
Hi,

On the wiki there is an instruction on how to add the temperature of the HDD to the web insterface http://wiki.excito.org/wiki/index.php/D ... _interface.

The description is still valid but the layout of the files have changed so that the patch that one download from the excito site no longer is valid.

I have attached the two files after a working modification. Could someone create a patch file and verify that it works and then Excito could update the patch on their server. I guess we do not have write access to that site.

Or even better could someone from Excito include this tiny modification in the next release? It is really handy to have the temerature so easily available.

Best Regards,
Morgan

Re: Patch for HDD temp on web site not working any longer

Posted: 10 Jan 2012, 03:11
by johannes
This feature is scheduled for the 2.5 release (B2 and B3), coming soon after the soon releasing 2.4!

Patch for HDD temp on web site not working any longer [Solve

Posted: 10 Jan 2012, 17:07
by eramoli
Thanks Excito!

Re: [Solved] Patch for HDD temp on web site not working

Posted: 22 Jan 2012, 05:14
by Gordon
Actually, the patch was already posted a while back: http://forum.excito.net/viewtopic.php?f ... 2&start=20

It may have been a bit obscure though because I missed out on the possibility to add an attachment and posted it in a code block, where I had to find a way to distinguish between space- and tab characters.

So either fetch as posted before:

Code: Select all

wget "http://forum.excito.net/viewtopic.php?f=8&t=2662&start=15" -O /dev/stdout \
| grep -A 12 "<div id=\"p16536\"" | grep "<code>" \
|  sed "s/^.*<code>//" | sed "s/<\/code>.*$//" \
|  sed "s/<br[^>]*>/\n/g" |  sed "s/"/\"/g" \
|  sed "s/</</g" |  sed "s/>/>/g" \
|  sed "s/&#91;/\[/g" |  sed "s/&#93;/\]/g" \
|  sed "s/\\\s/ /g" \
|  sed "s/\\\t/\t/g" > gui-hddtemp.patch
...or download directly: