#!/bin/sh # # $Id$ # # PROVIDE: wlportal # REQUIRE: LOGIN cleanvar # KEYWORD: shutdown wlportal_enable=${wlportal_enable:-"NO"} wlportal_flags=${wlportal_flags:-} . /etc/rc.subr name="wlportal" rcvar=`set_rcvar` load_rc_config $name command="/usr/local/wlportal/wlportal" command_interpreter="/usr/local/bin/python" pid_file="/var/run/${name}.pid" run_rc_command "$1"