aboutsummaryrefslogtreecommitdiffstats
path: root/config/shellcmd
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-22 22:51:15 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-22 22:51:15 +0200
commit7d64d9d2a8a5cecb8400d4ab445ce3023fee50a9 (patch)
treeae4bdcd744966b8f72d58f9b22f8bdc749ab5047 /config/shellcmd
parent4424d5f6afb3319c50def0262427c7030cb94ab1 (diff)
downloadpfsense-packages-7d64d9d2a8a5cecb8400d4ab445ce3023fee50a9.tar.gz
pfsense-packages-7d64d9d2a8a5cecb8400d4ab445ce3023fee50a9.tar.bz2
pfsense-packages-7d64d9d2a8a5cecb8400d4ab445ce3023fee50a9.zip
shellcmd - add support for afterfilterchangeshellcmd
Diffstat (limited to 'config/shellcmd')
-rw-r--r--config/shellcmd/shellcmd.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/shellcmd/shellcmd.xml b/config/shellcmd/shellcmd.xml
index 05f72f7a..f6b34ee4 100644
--- a/config/shellcmd/shellcmd.xml
+++ b/config/shellcmd/shellcmd.xml
@@ -111,6 +111,10 @@
<value>earlyshellcmd</value>
</option>
<option>
+ <name>afterfilterchangeshellcmd</name>
+ <value>afterfilterchangeshellcmd</value>
+ </option>
+ <option>
<name>disabled</name>
<value>disabled</value>
</option>
@@ -120,6 +124,9 @@
Choose the shellcmd type.<br /><br />
<strong>shellcmd</strong> will run the command specified towards the end of the boot process.<br />
<strong>earlyshellcmd</strong> will run the command specified at the beginning of the boot process.<br />
+ <strong>afterfilterchangeshellcmd</strong> will run after each filter_configure() call.
+ See <a href="https://github.com/pfsense/pfsense/blob/master/etc/inc/filter.inc">filter.inc source code</a> for "documentation".
+ <span class="errmsg">N.B.: Only one entry of this type can be configured!</span><br />
<strong>disabled</strong> will save the command in package configuration but it will NOT run on boot.<br /><br />
See <a href="https://doc.pfsense.org/index.php/Executing_commands_at_boot_time">Executing commands at boot time</a> for detailed explanation.
]]>