Commit faaa90bd authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) add rc commands to configd

parent a39f5592
...@@ -15,3 +15,21 @@ command:/usr/local/opnsense/scripts/OPNsense/CaptivePortal/disconnect.py ...@@ -15,3 +15,21 @@ command:/usr/local/opnsense/scripts/OPNsense/CaptivePortal/disconnect.py
parameters:/zoneid %s /sessionid %s /output_type %s parameters:/zoneid %s /sessionid %s /output_type %s
type:script_output type:script_output
message:disconnect client message:disconnect client
[start]
command:/usr/local/etc/rc.d/captiveportal start
parameters:
type:script
message:startup captiveportal services
[stop]
command:/usr/local/etc/rc.d/captiveportal onestop
parameters:
type:script
message:stopping captiveportal services
[restart]
command:/usr/local/etc/rc.d/captiveportal restart
parameters:
type:script
message:restarting captiveportal services
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