6 # PROVIDE: wpa_supplicant
7 # REQUIRE: mountcritremote
8 # KEYWORD: nojail nostart
17 if [ -z "$ifn" ]; then
23 case `sysctl -n net.wlan.${1#wlan}.%parent 2>/dev/null` in
29 if is_wired_interface ${ifn} ; then
31 elif is_ndis_interface ${ifn} ; then
39 command=${wpa_supplicant_program}
40 conf_file=${wpa_supplicant_conf_file}
41 pidfile="/var/run/${name}/${ifn}.pid"
42 command_args="-B -i $ifn -c $conf_file -D $driver -P $pidfile"
43 required_files=$conf_file
44 required_modules="wlan_wep wlan_tkip wlan_ccmp"