Commit a96b0da4 authored by Franco Fichtner's avatar Franco Fichtner

firmware: add configd commands for reboot and powerdown #948

While there, improve the consistency of the cron descriptions
and service messages.
parent 5ad1fa69
...@@ -70,6 +70,18 @@ parameters:%s ...@@ -70,6 +70,18 @@ parameters:%s
type:script type:script
message:switching firmware flavour to %s message:switching firmware flavour to %s
[reboot]
command:/usr/local/etc/rc.reboot
parameters:
type:script
message:issued firmware reboot
[powerdown]
command:/usr/local/etc/rc.halt
parameters:
type:script
message:issued firmware power down
[auto-update] [auto-update]
command:/usr/local/etc/rc.firmware command:/usr/local/etc/rc.firmware
description:Automatic firmware update description:Automatic firmware update
......
...@@ -62,12 +62,12 @@ message:get suricata daemon status ...@@ -62,12 +62,12 @@ message:get suricata daemon status
command:/usr/local/opnsense/scripts/suricata/rule-updater.py && /usr/local/opnsense/scripts/suricata/installRules.py && /usr/local/bin/geoipupdate.sh && pkill -USR2 suricata command:/usr/local/opnsense/scripts/suricata/rule-updater.py && /usr/local/opnsense/scripts/suricata/installRules.py && /usr/local/bin/geoipupdate.sh && pkill -USR2 suricata
parameters: parameters:
type:script type:script
message:update and reload suricata rules message:update and reload intrusion detection rules
description: update IDS rules description:Update and reload intrusion detection rules
[reload] [reload]
command:/usr/local/opnsense/scripts/suricata/installRules.py && pkill -USR2 suricata command:/usr/local/opnsense/scripts/suricata/installRules.py && pkill -USR2 suricata
parameters: parameters:
type:script type:script
message:reload suricata rules message:reload intrusion detection rules
description: update IDS rules description:Reload intrusion detection rules
...@@ -32,12 +32,12 @@ message:request proxy status ...@@ -32,12 +32,12 @@ message:request proxy status
command:/usr/local/opnsense/scripts/proxy/fetchACLs.py&&/usr/local/etc/rc.d/squid reload command:/usr/local/opnsense/scripts/proxy/fetchACLs.py&&/usr/local/etc/rc.d/squid reload
parameters: parameters:
type:script type:script
message:Fetch ACLs from remote locations message:download and reload proxy ACLs from remote locations
description:Fetch external Proxy (squid) ACLs description:Download and reload external proxy ACLs
[downloadacls] [downloadacls]
command:/usr/local/opnsense/scripts/proxy/fetchACLs.py command:/usr/local/opnsense/scripts/proxy/fetchACLs.py
parameters: parameters:
type:script type:script
message:Download ACLs from remote locations message:download proxy ACLs from remote locations
description:Download external Proxy (squid) ACLs description:Download external proxy ACLs
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