summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-04-08 18:54:42 +0000
committersam <sam@FreeBSD.org>2008-04-08 18:54:42 +0000
commit75b6dfeb71a9c07b64761930dc38218ea342c13a (patch)
treed372e58f8d860fd257b909ac8c0701bf7c393b5a /etc
parente9e1875fbf3d6d229e50e6020f407677e79706c4 (diff)
downloadFreeBSD-src-75b6dfeb71a9c07b64761930dc38218ea342c13a.zip
FreeBSD-src-75b6dfeb71a9c07b64761930dc38218ea342c13a.tar.gz
spell pidfile correctly so multiple wpa_supplicant processes can be run
MFC after: 1 week
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.d/wpa_supplicant4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/wpa_supplicant b/etc/rc.d/wpa_supplicant
index 6e34924b0..3f83460 100644
--- a/etc/rc.d/wpa_supplicant
+++ b/etc/rc.d/wpa_supplicant
@@ -31,8 +31,8 @@ esac
load_rc_config $name
-pid_file="/var/run/${name}/${ifn}.pid"
-command_args="-B -q -i $ifn -c $conf_file -D $driver -P $pid_file"
+pidfile="/var/run/${name}/${ifn}.pid"
+command_args="-B -q -i $ifn -c $conf_file -D $driver -P $pidfile"
required_files=$conf_file
run_rc_command "$1"
OpenPOWER on IntegriCloud