sysutils/monit: allow parameter in path options (#587)

This commit is contained in:
Frank Brendel
2018-03-08 10:24:06 +01:00
committed by Franco Fichtner
parent 500dcfda0a
commit e94878ba05
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= monit
PLUGIN_VERSION= 1.5
PLUGIN_VERSION= 1.6
PLUGIN_COMMENT= Proactive system monitoring
PLUGIN_MAINTAINER= frank.brendel@eurolog.com
PLUGIN_DEPENDS= monit
@@ -1,6 +1,6 @@
<model>
<mount>//OPNsense/monit</mount>
<version>1.0.2</version>
<version>1.0.3</version>
<description>Monit settings</description>
<items>
<general>
@@ -198,7 +198,7 @@
</match>
<path type="TextField">
<Required>N</Required>
<mask>/^(\/[^\/ ]*)+\/?$/</mask>
<mask>/^(\/[^\/ ]*)+\/?.*$/</mask>
<ValidationMessage>Should be a valid absolute file or folder path.</ValidationMessage>
</path>
<address type="TextField">
@@ -261,7 +261,7 @@
</action>
<path type="TextField">
<Required>N</Required>
<mask>/^(\/[^\/ ]*)+?$/</mask>
<mask>/^(\/[^\/ ]*)+\/?.*$/</mask>
<ValidationMessage>Should be a valid absolute file path.</ValidationMessage>
</path>
</test>