[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Raq4 LCD
- Subject: RE: [cobalt-users] Raq4 LCD
- From: "Paul" <paul@xxxxxxxxxxxxxxxxx>
- Date: Tue Apr 13 16:11:02 2004
- Organization: Planetcentral
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
-----Original Message-----
>pico /etc/rc.d/init.d/lcd-showip
>Search for:
> /sbin/lcd-write "$WORDS" "$IPADDR"
>Right BEFORE it, do this:
> WORDS="Current Temperature is:"
> IPADDR=`cat /proc/cpuinfo | grep temperature | cut -f2 -d:`
>I personally suggest doing it this way, as if you ever want to convert
>back, all you will have to do is to either delete just those two lines,
>or put a '#' in front of them.
>You can then create a symlink in /etc/cron.quarter-hourly like so:
>ln -s /etc/rc.d/init.d/lcd-showip /etc/cron.quarter-hourly/show-temp
>Then every 15 minutes it should update.
>Thanks,
>Brian
Brian,
Works great - however any idea how to get text on the same line? i.e. I want
to be able to leave the ip addy on there as is, but want to be able to put
the words "Temp :" on the same line as the recovered temp value (replacing
the domain name)....
Thx
Paul
_____________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users
--
Incoming mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 262.8.0 - Release Date: 09/04/2004
--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 262.8.0 - Release Date: 09/04/2004