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
type:script
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]
command:/usr/local/etc/rc.firmware
description:Automatic firmware update
......
......@@ -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
parameters:
type:script
message:update and reload suricata rules
description: update IDS rules
message:update and reload intrusion detection rules
description:Update and reload intrusion detection rules
[reload]
command:/usr/local/opnsense/scripts/suricata/installRules.py && pkill -USR2 suricata
parameters:
type:script
message:reload suricata rules
description: update IDS rules
message:reload intrusion detection rules
description:Reload intrusion detection rules
......@@ -32,12 +32,12 @@ message:request proxy status
command:/usr/local/opnsense/scripts/proxy/fetchACLs.py&&/usr/local/etc/rc.d/squid reload
parameters:
type:script
message:Fetch ACLs from remote locations
description:Fetch external Proxy (squid) ACLs
message:download and reload proxy ACLs from remote locations
description:Download and reload external proxy ACLs
[downloadacls]
command:/usr/local/opnsense/scripts/proxy/fetchACLs.py
parameters:
type:script
message:Download ACLs from remote locations
description:Download external Proxy (squid) ACLs
message:download proxy ACLs from remote locations
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