hostapd revision 173616
1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/hostapd 173616 2007-11-14 21:19:15Z brix $
4#
5
6# PROVIDE: hostapd
7# REQUIRE: mountcritremote
8# KEYWORD: nojail shutdown
9
10. /etc/rc.subr
11
12name="hostapd"
13command="/usr/sbin/${name}"
14rcvar=`set_rcvar`
15
16conf_file="/etc/${name}.conf"
17pidfile="/var/run/${name}.pid"
18
19command_args="-P ${pidfile} -B ${conf_file}"
20required_files="${conf_file}"
21extra_commands="reload"
22
23load_rc_config ${name}
24run_rc_command "$1"
25