Commit 42a44ecd authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(ids) add reload rules action, related https://github.com/opnsense/core/issues/750

(cherry picked from commit 1e1aae8b)
parent d441fbc5
...@@ -64,3 +64,10 @@ parameters: ...@@ -64,3 +64,10 @@ parameters:
type:script type:script
message:update and reload suricata rules message:update and reload suricata rules
description: update IDS rules description: update IDS rules
[reload]
command:/usr/local/opnsense/scripts/suricata/installRules.py && pkill -USR2 suricata
parameters:
type:script
message:reload suricata rules
description: update IDS rules
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment