1#!/bin/sh 2#
| 1#!/bin/sh 2#
|
3# $FreeBSD: head/etc/rc.d/hostapd 173616 2007-11-14 21:19:15Z brix $
| 3# $FreeBSD: head/etc/rc.d/hostapd 178356 2008-04-20 20:37:21Z sam $
|
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}"
| 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}"
|
| 21required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp"
|
21extra_commands="reload" 22 23load_rc_config ${name} 24run_rc_command "$1"
| 22extra_commands="reload" 23 24load_rc_config ${name} 25run_rc_command "$1"
|