Commit ad80a5a1 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(captiveportal, new) add rc commands to configd

(cherry picked from commit faaa90bd)
parent 5873a724
......@@ -15,3 +15,21 @@ command:/usr/local/opnsense/scripts/OPNsense/CaptivePortal/disconnect.py
parameters:/zoneid %s /sessionid %s /output_type %s
type:script_output
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