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