Index: [Article Count Order] [Thread]

Date:  Thu, 24 Jan 2008 10:12:29 -0600
From:  "Gerald Waugh" <gwaugh (at mark) frontstreetnetworks.com>
Subject:  [coba-e:11768] Fix raqbackup.sh on Strongbolt RaQ to display CPU temperature in message
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <000201c85ea3$eef8ebb0$0101a8c0@systemax>
X-Mail-Count: 11768

Currently RaQ-CBQ raqbackup.sh messages to admin display a line;
CPU:     AMD-K6(tm)-III Processor 448.222 MHz at  degrees
After the fix;
CPU:     AMD-K6(tm)-III Processor 448.222 MHz at 31 degrees

Fix raqbackup.sh on Strongbolt CBQ-RaQ3/4 to display CPU temperature

If you are using NuOnce backup GUI do this;
Edit /usr/sausalito/handlers/nuonce/backup/raqbackup-template.sh
Find line;
    SYS_CPUTEMP=`cat /proc/cpuinfo | grep temperature | cut -b
15,16,17,18`
Change to;
    SYS_CPUTEMP=`cat /proc/cobalt/sensors/thermal | cut -c10-11`
Then disable backup in the GUI then re-enable.
Now any changes you make in the GUI 
will always modify raqbackup.sh to display temperature in msg to admin

If you are using vanilla raqbackup.sh (no backup GUI)
Edit raqbackup.sh directly and change the above lines.

Similar changes could be made to other systems.
Just find the temperature data for the system and modify raqbackup.

-
Gerald Waugh
http://frontstreetnetworks.com
Front Street Networks
4604 Fern Ave
Shreveport, LA 71105-3118
V: 318-862-3575/3577
F: 318-862-3576