7 # REQUIRE: mountcritremote
8 # KEYWORD: nojail shutdown
13 desc="Authenticator for IEEE 802.11 networks"
14 command="/usr/sbin/${name}"
17 if [ -z "$ifn" ]; then
18 rcvar="hostapd_enable"
19 conf_file="/etc/${name}.conf"
20 pidfile="/var/run/${name}.pid"
23 conf_file="/etc/${name}-${ifn}.conf"
24 pidfile="/var/run/${name}-${ifn}.pid"
27 command_args="-P ${pidfile} -B ${conf_file}"
28 required_files="${conf_file}"
29 required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp"
30 extra_commands="reload"
32 load_rc_config ${name}