mirror of
https://github.com/opnsense/plugins.git
synced 2025-12-10 10:30:21 -06:00
sysutils/nut(fix): IPv6 addresses in Netclient (#4823)
This commit is contained in:
parent
edbd2dc25e
commit
e5d312c017
@ -7,7 +7,7 @@ SHUTDOWNCMD "/usr/local/etc/rc.halt"
|
||||
POWERDOWNFLAG /etc/killpower
|
||||
{% endif %}
|
||||
{% if helpers.exists('OPNsense.Nut.netclient.enable') and OPNsense.Nut.netclient.enable == '1' %}
|
||||
MONITOR {{ OPNsense.Nut.general.name }}@{{ OPNsense.Nut.netclient.address }}{% if helpers.exists('OPNsense.Nut.netclient.port') %}:{{ OPNsense.Nut.netclient.port }}{% endif %} 1 {{ OPNsense.Nut.netclient.user }} {{ OPNsense.Nut.netclient.password }} slave
|
||||
MONITOR {{ OPNsense.Nut.general.name }}@{{ helpers.host_with_port('OPNsense.Nut.netclient.address', 'OPNsense.Nut.netclient.port') }} 1 {{ OPNsense.Nut.netclient.user }} {{ OPNsense.Nut.netclient.password }} slave
|
||||
SHUTDOWNCMD "/usr/local/etc/rc.halt"
|
||||
POWERDOWNFLAG /etc/killpower
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user