New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

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

Got problems with your B2 or B3? Share and get helped!
Post Reply
eramoli
Posts: 67
Joined: 15 Oct 2010, 13:06
Location: Sundbyberg, Sweden

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

Post 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
Attachments
hdd_patch.zip
(2.76 KiB) Downloaded 366 times
Last edited by eramoli on 10 Jan 2012, 17:08, edited 1 time in total.
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

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

Post by johannes »

This feature is scheduled for the 2.5 release (B2 and B3), coming soon after the soon releasing 2.4!
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
eramoli
Posts: 67
Joined: 15 Oct 2010, 13:06
Location: Sundbyberg, Sweden

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

Post by eramoli »

Thanks Excito!
Gordon
Posts: 1464
Joined: 10 Aug 2011, 03:18

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

Post 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:
Attachments
gui-hddtemp.zip
(636 Bytes) Downloaded 348 times
Post Reply