7 # REQUIRE: mountcritremote
8 # KEYWORD: nojail shutdown
13 desc="Authenticator for IEEE 802.11 networks"
14 command=${hostapd_program}
15 start_postcmd="hostapd_poststart"
18 if [ -n "$ifn" ]; then
26 if [ -z "$ifn" ]; then
27 rcvar="hostapd_enable"
28 conf_file="/etc/${name}.conf"
29 pidfile="/var/run/${name}.pid"
32 conf_file="/etc/${name}-${ifn}.conf"
33 pidfile="/var/run/${name}-${ifn}.pid"
36 command_args="-P ${pidfile} -B ${conf_file}"
37 required_files="${conf_file}"
38 required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp"
39 extra_commands="reload"
41 load_rc_config ${name}