Commit a39f5592 authored by Ad Schellevis's avatar Ad Schellevis

(captiveportal, new) add captiveportal_enable in rc script

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