diff --git a/sysutils/apcupsd/Makefile b/sysutils/apcupsd/Makefile index 1b08a9907..4cabb532c 100644 --- a/sysutils/apcupsd/Makefile +++ b/sysutils/apcupsd/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= apcupsd PLUGIN_DEVEL= yes -PLUGIN_VERSION= 0.1 +PLUGIN_VERSION= 0.2 PLUGIN_DEPENDS= apcupsd PLUGIN_COMMENT= APCUPSD - APC UPS daemon PLUGIN_MAINTAINER= xbb@xbblabs.com diff --git a/sysutils/apcupsd/pkg-descr b/sysutils/apcupsd/pkg-descr index 28f097d83..f7613b200 100644 --- a/sysutils/apcupsd/pkg-descr +++ b/sysutils/apcupsd/pkg-descr @@ -12,9 +12,7 @@ WWW: http://www.apcupsd.org/ Plugin Changelog ================ -1.0 - -Initial release +1.0 (initial release) * Apcupsd service control and configuration * UPS status page diff --git a/sysutils/apcupsd/src/opnsense/mvc/app/controllers/OPNsense/Apcupsd/forms/general.xml b/sysutils/apcupsd/src/opnsense/mvc/app/controllers/OPNsense/Apcupsd/forms/general.xml index 0aa561920..7fd4ff0ec 100644 --- a/sysutils/apcupsd/src/opnsense/mvc/app/controllers/OPNsense/Apcupsd/forms/general.xml +++ b/sysutils/apcupsd/src/opnsense/mvc/app/controllers/OPNsense/Apcupsd/forms/general.xml @@ -62,8 +62,10 @@ apcupsd.general.BatteryLevel text - Apcupsd will shutdown the system during a power failure when the remaining battery charge falls below the - specified percentage. (Default is 5). + + Apcupsd will shutdown the system during a power failure when the remaining battery charge falls below the + specified percentage. Set to -1 to disable. (Default is 5). + apcupsd.general.Minutes @@ -71,7 +73,7 @@ text Apcupsd will shutdown the system during a power failure when the remaining runtime on batteries as - internally calculated by the UPS falls below the specified minutes. (Default is 3) + internally calculated by the UPS falls below the specified minutes. Set to -1 to disable. (Default is 3) diff --git a/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml b/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml index cf344164f..4d1ad8f54 100644 --- a/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml +++ b/sysutils/apcupsd/src/opnsense/mvc/app/models/OPNsense/Apcupsd/Apcupsd.xml @@ -87,23 +87,23 @@ 5 Y - 1 + -1 99 - Battery level must be between 1 and 99 percent. + Battery level must be between -1 and 99 percent. 3 Y - 1 + -1 60 - Remaining battery minutes must be between 1 and 60 minutes. + Remaining battery minutes must be between -1 and 60 minutes. 0 Y 0 360 - Timeout must be between 1 and 360 seconds. + Timeout must be between 0 and 360 seconds. 300