sysutils/nut: fix permissions for blazer_ser driver (#1576)
This commit is contained in:
parent
10727e3102
commit
78a77d7e63
|
@ -5,3 +5,12 @@ and Solar Controllers.
|
|||
|
||||
NUT provides many control and monitoring features, with a uniform control
|
||||
and management interface.
|
||||
|
||||
Plugin Changelog
|
||||
----------------
|
||||
|
||||
1.6
|
||||
|
||||
* Add QX driver support
|
||||
* Add snmp-ups driver support
|
||||
* Fixed permissions in blazer_ser driver
|
||||
|
|
|
@ -97,7 +97,7 @@
|
|||
<id>nut.blazerser.enable</id>
|
||||
<label>Enable</label>
|
||||
<type>checkbox</type>
|
||||
<help>Enable the BlazerSerial driver.</help>
|
||||
<help>Enable the BlazerSerial driver. Please be aware that this driver needs to run nut-tools as root.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>nut.blazerser.args</id>
|
||||
|
|
|
@ -30,6 +30,7 @@ driver=blazer_usb
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.Nut.blazerser.enable') and OPNsense.Nut.blazerser.enable == '1' %}
|
||||
user=root
|
||||
[{{ OPNsense.Nut.general.name }}]
|
||||
driver=blazer_ser
|
||||
{% if helpers.exists('OPNsense.Nut.blazerser.args') and OPNsense.Nut.blazerser.args != '' %}
|
||||
|
|
Loading…
Reference in New Issue