mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
sysutils/apcupsd: sync with master
This commit is contained in:
parent
ef0474a151
commit
f028ddfc9b
4 changed files with 12 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -62,8 +62,10 @@
|
|||
<id>apcupsd.general.BatteryLevel</id>
|
||||
<label>Battery Level Shutdown (%)</label>
|
||||
<type>text</type>
|
||||
<help>Apcupsd will shutdown the system during a power failure when the remaining battery charge falls below the
|
||||
specified percentage. (Default is 5).</help>
|
||||
<help>
|
||||
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).
|
||||
</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>apcupsd.general.Minutes</id>
|
||||
|
|
@ -71,7 +73,7 @@
|
|||
<type>text</type>
|
||||
<help>
|
||||
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)
|
||||
</help>
|
||||
</field>
|
||||
<field>
|
||||
|
|
|
|||
|
|
@ -87,23 +87,23 @@
|
|||
<BatteryLevel type="IntegerField">
|
||||
<default>5</default>
|
||||
<Required>Y</Required>
|
||||
<MinimumValue>1</MinimumValue>
|
||||
<MinimumValue>-1</MinimumValue>
|
||||
<MaximumValue>99</MaximumValue>
|
||||
<ValidationMessage>Battery level must be between 1 and 99 percent.</ValidationMessage>
|
||||
<ValidationMessage>Battery level must be between -1 and 99 percent.</ValidationMessage>
|
||||
</BatteryLevel>
|
||||
<Minutes type="IntegerField">
|
||||
<default>3</default>
|
||||
<Required>Y</Required>
|
||||
<MinimumValue>1</MinimumValue>
|
||||
<MinimumValue>-1</MinimumValue>
|
||||
<MaximumValue>60</MaximumValue>
|
||||
<ValidationMessage>Remaining battery minutes must be between 1 and 60 minutes.</ValidationMessage>
|
||||
<ValidationMessage>Remaining battery minutes must be between -1 and 60 minutes.</ValidationMessage>
|
||||
</Minutes>
|
||||
<Timeout type="IntegerField">
|
||||
<default>0</default>
|
||||
<Required>Y</Required>
|
||||
<MinimumValue>0</MinimumValue>
|
||||
<MaximumValue>360</MaximumValue>
|
||||
<ValidationMessage>Timeout must be between 1 and 360 seconds.</ValidationMessage>
|
||||
<ValidationMessage>Timeout must be between 0 and 360 seconds.</ValidationMessage>
|
||||
</Timeout>
|
||||
<Annoy type="IntegerField">
|
||||
<default>300</default>
|
||||
|
|
|
|||
Loading…
Reference in a new issue