]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - etc/rc.d/hostapd
This commit was generated by cvs2svn to compensate for changes in r172771,
[FreeBSD/FreeBSD.git] / etc / rc.d / hostapd
1 #!/bin/sh
2 #
3 # $FreeBSD$
4 #
5
6 # PROVIDE: hostapd
7 # REQUIRE: mountcritremote
8 # KEYWORD: nojail shutdown
9
10 . /etc/rc.subr
11
12 name="hostapd"
13 command="/usr/sbin/${name}"
14 rcvar=`set_rcvar`
15
16 conf_file="/etc/${name}.conf"
17
18 command_args="-B ${conf_file}"
19 required_files="${conf_file}"
20
21 load_rc_config ${name}
22 run_rc_command "$1"