mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
(captiveportal, new) add rc commands to configd
This commit is contained in:
parent
a39f559204
commit
faaa90bd46
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user