aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSunStroke74 <andrey.b.nikitin@gmail.com>2014-11-13 23:57:26 +0500
committerSunStroke74 <andrey.b.nikitin@gmail.com>2014-11-13 23:57:26 +0500
commit18a17e3074855d8e14c4c0fdf26c8f533175fcb4 (patch)
tree4c3ab3eea8818dadcbdf7de4d8c1560e8cac6a25 /config
parentbf28487b17524bbe7165c5a061d63c9f7ceb5ba2 (diff)
downloadpfsense-packages-18a17e3074855d8e14c4c0fdf26c8f533175fcb4.tar.gz
pfsense-packages-18a17e3074855d8e14c4c0fdf26c8f533175fcb4.tar.bz2
pfsense-packages-18a17e3074855d8e14c4c0fdf26c8f533175fcb4.zip
Advansed options for NUT config files
Allow add custom options in NUT config files. Raw text, no syntax checking.
Diffstat (limited to 'config')
-rw-r--r--config/nut/nut.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/config/nut/nut.xml b/config/nut/nut.xml
index 210d7b82..d1496a16 100644
--- a/config/nut/nut.xml
+++ b/config/nut/nut.xml
@@ -84,6 +84,7 @@
<chmod>0755</chmod>
<item>https://packages.pfsense.org/packages/config/nut/status_nut.php</item>
</additional_files_needed>
+ <advanced_options>enabled</advanced_options>
<fields>
<field>
<name>General Settings</name>
@@ -119,6 +120,42 @@
<type>checkbox</type>
</field>
<field>
+ <fielddescr>ups.conf options</fielddescr>
+ <fieldname>custom_upsconf</fieldname>
+ <description>Write there any custom options for ups.conf. All options must be separated by semi-colons (;).</description>
+ <type>textarea</type>
+ <cols>65</cols>
+ <rows>5</rows>
+ <advancedfield/>
+ </field>
+ <field>
+ <fielddescr>upsd.conf options</fielddescr>
+ <fieldname>custom_upsdconf</fieldname>
+ <description>Write there any custom options for upsd.conf. All options must be separated by semi-colons (;).</description>
+ <type>textarea</type>
+ <cols>65</cols>
+ <rows>5</rows>
+ <advancedfield/>
+ </field>
+ <field>
+ <fielddescr>upsd.users options</fielddescr>
+ <fieldname>custom_upsdusers</fieldname>
+ <description>Write there any custom options for upsd.users. All options must be separated by semi-colons (;).</description>
+ <type>textarea</type>
+ <cols>65</cols>
+ <rows>5</rows>
+ <advancedfield/>
+ </field>
+ <field>
+ <fielddescr>upsmon.conf options</fielddescr>
+ <fieldname>custom_upsmonconf</fieldname>
+ <description>Write there any custom options for upsmon.conf. All options must be separated by semi-colons (;).</description>
+ <type>textarea</type>
+ <cols>65</cols>
+ <rows>5</rows>
+ <advancedfield/>
+ </field>
+ <field>
<name>Remote Access Settings - Used for Local and SNMP Types to allow access</name>
<type>listtopic</type>
</field>