Ledctl is a program that uses the PPI interface of the FreeBSD kernel to drive three LEDs connected to the data pins of the parallel port of a PC.
It can be used in scripts and applications to notify the user for events like new email, high cpu load, full disk partitions, intrusion detection, etc.
It is assumed that you have downloaded a compressed archive of the source (e.g. ledctl-1.2.3.tar.bz2). In the following commands substitute the name of the archive with the name of the file you downloaded.
You can now use ledctl. See the included README file for usage.
If you want to remove the object and executable files that were created during the building stage type make clean.
To install the ledctl binary globally su to root and type make install. The default location of the binary is /usr/local/bin but you can modify the Makefile if you want to install ledctl in a different directory. To uninstall a globally installed ledctl binary type make uninstall as root.
Enjoy.
You can download ledctl from http://sourceforge.net/projects/ledctl/
Kostas Peletidis
OS: | FreeBSD |
License: | BSD License |
Web developer: | Thanos Tsouanas |