diff options
author | sam <sam@FreeBSD.org> | 2008-04-08 23:12:15 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-04-08 23:12:15 +0000 |
commit | c20bcaca65b4e3e98391498b56ef7214622bf1f6 (patch) | |
tree | b63290a5b5f2b3d7473b31feda3a21a9684f6e68 /etc/rc.d/wpa_supplicant | |
parent | e3d4b6466f639d64e83b6fc7b70ba0a5598257c2 (diff) | |
download | FreeBSD-src-c20bcaca65b4e3e98391498b56ef7214622bf1f6.zip FreeBSD-src-c20bcaca65b4e3e98391498b56ef7214622bf1f6.tar.gz |
o add rc.conf knobs to set the wpa_supplicant program, logging flags,
and config file
o change default logging options from -q to -s (log to syslog); this
is currently broken for boot-time startup as syslogd is started too
late but that'll be dealt with separately
MFC after: 2 weeks
Diffstat (limited to 'etc/rc.d/wpa_supplicant')
-rw-r--r-- | etc/rc.d/wpa_supplicant | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/wpa_supplicant b/etc/rc.d/wpa_supplicant index 044380c..7e724f0 100644 --- a/etc/rc.d/wpa_supplicant +++ b/etc/rc.d/wpa_supplicant @@ -12,8 +12,6 @@ name="wpa_supplicant" rcvar= -command="/usr/sbin/${name}" -conf_file="/etc/wpa_supplicant.conf" ifn="$2" if [ -z "$ifn" ]; then @@ -47,8 +45,10 @@ esac load_rc_config $name +command=${wpa_supplicant_program} +conf_file=${wpa_supplicant_conf_file} pidfile="/var/run/${name}/${ifn}.pid" -command_args="-B -q -i $ifn -c $conf_file -D $driver -P $pidfile" +command_args="-B -i $ifn -c $conf_file -D $driver -P $pidfile" required_files=$conf_file run_rc_command "$1" |