sysstatus.git
11 years agoBetter file structure and build system
norly [Fri, 15 Feb 2013 01:19:41 +0000 (01:19 +0000)]
Better file structure and build system

Also fix some warnings

11 years agoReindent and restyle
norly [Fri, 15 Feb 2013 00:10:58 +0000 (00:10 +0000)]
Reindent and restyle

11 years agoClean up battery status, fix wrong time estimate
norly [Tue, 27 Nov 2012 18:38:24 +0000 (18:38 +0000)]
Clean up battery status, fix wrong time estimate

11 years agoInclude fan.{c,h}
norly [Fri, 26 Oct 2012 14:30:49 +0000 (15:30 +0100)]
Include fan.{c,h}

11 years agoCheck if battery/netif present, add fan support
norly [Mon, 8 Oct 2012 17:30:56 +0000 (18:30 +0100)]
Check if battery/netif present, add fan support

Also change power reading to work on newer kernels.

12 years agoMinor fixes...
norly [Tue, 14 Feb 2012 14:12:24 +0000 (14:12 +0000)]
Minor fixes...

12 years agoMoved battery status to fileRead().
norly [Tue, 14 Feb 2012 13:35:44 +0000 (13:35 +0000)]
Moved battery status to fileRead().

Renamed 'power' to 'battery'.

12 years agoMore cleanup, 'temp' and 'uptime' use fileRead().
norly [Tue, 14 Feb 2012 01:56:17 +0000 (01:56 +0000)]
More cleanup, 'temp' and 'uptime' use fileRead().

12 years agoCleaned up 'netif'.
norly [Tue, 14 Feb 2012 01:27:32 +0000 (01:27 +0000)]
Cleaned up 'netif'.

Replaced 'netif' with 'netif_named'.
Fixed memory leak in new 'netif'.
Outsourced raw file reading to tools.c.

12 years agoSome build system cleanup.
norly [Tue, 14 Feb 2012 00:13:28 +0000 (00:13 +0000)]
Some build system cleanup.

12 years agoYe Olde Brick, hacked one very late night in 2010.
norly [Thu, 17 Nov 2011 23:05:15 +0000 (00:05 +0100)]
Ye Olde Brick, hacked one very late night in 2010.

Full of inefficient or maybe broken code, as well
as the occasional memory leak. I am not proud of
it and I was *really* tired back then. While this
was an experiment in writing (f)ugly code and I
just wanted something running, I have to admit
that this code has served me well ever since.

Too well to be bothered to ever look at it again,
really...