BananaLEDd
(c) L.Faillie 2014
The tool is provided as per Creative Commons Attribution-NonCommercial 3.0 License
(http://creativecommons.org/licenses/by-nc/3.0/)

Compilation :
gcc -Wall -O2 -o BananaLEDd BananaLEDd.c

Known options are :
	-h : this online help
	-d : enable debug messages
	-f<file> : read <file> for configuration
		(default is '/usr/local/etc/BananaLEDd.conf')

This daemon allowing you to :
1/ configure the behaviors of ethernet LEDs
2/ make your LED blinking as per system load and stat disk activities.

Everything is controled by BananaLEDd's configuration file : it's default location is /usr/local/etc/BananaLEDd.conf

Understood keywords are :

Blue=<opts>		: behaviors of the blue led
Yellow=<opts> 	: idem for the Yellow one
Green=<opts>	: and the Green one

Where opts can be :

----
10 - Linked to a 10Mb network
100 - Linked to a 100Mb network
1000 - Linked to a 1Gb network
LINKED - Linked to any type of network (equal to "10 100 1000")
NETWORK - blinks as per network activities

SATA - Follows as per disk activities
LOAD - reflect System load
----

SATA and LOAD are the only options that have to be specified alone.

Other understood keywords :

LEDDevice= 	- whitch device to use to access to LEDs (eth0)
Disk= 		- disk to monitor (sda)
Sample= 	- Delay b/w 2 sample (default : 100ms)
MinBlink=	- Minimum load to reflect (defaut 2)
MultBlink=  - Blink multiplier (default 100)

