aboutsummaryrefslogtreecommitdiffstats
path: root/config/shellcmd
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-22 17:01:29 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-22 17:01:29 +0200
commit3de8cde76a4e55ea867049ef699b0cb5811b5300 (patch)
tree1b3d16e405ba78dbf970dad65d0c61e223dc37bb /config/shellcmd
parentf0064564bce1b9ab24807648c67ab61bec351539 (diff)
downloadpfsense-packages-3de8cde76a4e55ea867049ef699b0cb5811b5300.tar.gz
pfsense-packages-3de8cde76a4e55ea867049ef699b0cb5811b5300.tar.bz2
pfsense-packages-3de8cde76a4e55ea867049ef699b0cb5811b5300.zip
shellcmd - add support for disabled items
Diffstat (limited to 'config/shellcmd')
-rw-r--r--config/shellcmd/shellcmd.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/config/shellcmd/shellcmd.xml b/config/shellcmd/shellcmd.xml
index 4becdf89..05f72f7a 100644
--- a/config/shellcmd/shellcmd.xml
+++ b/config/shellcmd/shellcmd.xml
@@ -61,6 +61,7 @@
<active/>
</tab>
</tabs>
+ <configpath>['installedpackages']['shellcmdsettings']['config']</configpath>
<additional_files_needed>
<prefix>/usr/local/pkg/</prefix>
<item>https://packages.pfsense.org/packages/config/shellcmd/shellcmd.inc</item>
@@ -109,12 +110,17 @@
<name>earlyshellcmd</name>
<value>earlyshellcmd</value>
</option>
+ <option>
+ <name>disabled</name>
+ <value>disabled</value>
+ </option>
</options>
<description>
<![CDATA[
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 /><br />
+ <strong>earlyshellcmd</strong> will run the command specified at the beginning of the boot process.<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.
]]>
</description>