wpa_supplicant(8) requires -D option for ndis(4) now.
This commit is contained in:
parent
94d2d4eb04
commit
c9ea633926
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user