7 # REQUIRE: mountcritremote
8 # KEYWORD: nojail shutdown
13 command="/usr/sbin/${name}"
16 if [ -z "$ifn" ]; then
17 rcvar="hostapd_enable"
18 conf_file="/etc/${name}.conf"
19 pidfile="/var/run/${name}.pid"
22 conf_file="/etc/${name}-${ifn}.conf"
23 pidfile="/var/run/${name}-${ifn}.pid"
26 command_args="-P ${pidfile} -B ${conf_file}"
27 required_files="${conf_file}"
28 required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp"
29 extra_commands="reload"
31 load_rc_config ${name}