wpa_supplicant(8) requires -D option for ndis(4) now.

This commit is contained in:
Jung-uk Kim 2005-10-19 22:26:47 +00:00
parent 94d2d4eb04
commit c9ea633926

View File

@ -20,10 +20,19 @@ if [ -z "$ifn" ]; then
return 1
fi
case ${ifn} in
ndis*)
driver="ndis"
;;
*)
driver="bsd"
;;
esac
load_rc_config $name
pid_file="/var/run/${name}/${ifn}.pid"
command_args="-B -q -i $ifn -P $pid_file -c $conf_file"
command_args="-B -q -i $ifn -c $conf_file -D $driver -P $pid_file"
required_files=$conf_file
run_rc_command "$1"