Commit a39f5592 authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) add captiveportal_enable in rc script

parent a045532a
...@@ -28,10 +28,13 @@ ...@@ -28,10 +28,13 @@
. /etc/rc.subr . /etc/rc.subr
name=captiveportal name=captiveportal
rcvar=captiveportal_enable
start_precmd=captiveportal_prestart start_precmd=captiveportal_prestart
start_cmd="${name}_start" start_cmd="${name}_start"
stop_cmd="${name}_stop" stop_cmd="${name}_stop"
[ -z "$captiveportal_enable" ] && captiveportal_enable="NO"
captiveportal_load_rc_config() captiveportal_load_rc_config()
{ {
CPWORKDIR="/var/captiveportal" CPWORKDIR="/var/captiveportal"
......
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