hostapd revision 155236
1#!/bin/sh
2#
3# $FreeBSD: head/etc/rc.d/hostapd 155236 2006-02-03 01:35:36Z flz $
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"
17
18command_args="-B ${conf_file}"
19required_files="${conf_file}"
20
21load_rc_config ${name}
22run_rc_command "$1"
23