Age | Commit message (Collapse) | Author |
|
someone when the UPS battery needs to be changed. Added two defaulted paramters to the apcupsd class, admin (the email address of the admin to receive the mail (defaults to root)), and mail (the program used to send the email (defaults to mail)).
|
|
The 'ups' define was probably created in order to be able to define
multiple upses. However, the implementation doesn't give that as an
opportunity.
Get rid of the useless complexity and mix everything into a parametrized
class named 'apcupsd'.
|
|
|
|
|
|
- Added license on header.
- Notifying apcupsd.
- Adding ups name into config file.
|
|
|