summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2013-01-30 02:05:42 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2013-01-30 02:05:42 -0700
commit31b958d5b065a25d9b842d31d793000c93658e15 (patch)
tree72d8360193751e28005cac4dfd70ab7a160deacd
parent6796d0d10c8066e5790b75ec074e2a1dd4f5bd12 (diff)
downloadpfsense-31b958d5b065a25d9b842d31d793000c93658e15.zip
pfsense-31b958d5b065a25d9b842d31d793000c93658e15.tar.gz
Make this regular expression a little more specific so it does not kill the wrong wpa_supplicant if there are double-digit interface numbers.
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 46e68e8..890710e 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2631,7 +2631,7 @@ function kill_hostapd($interface) {
}
function kill_wpasupplicant($interface) {
- return "/bin/pkill -f \"wpa_supplicant .*{$interface}\"\n";
+ return "/bin/pkill -f \"wpa_supplicant .*{$interface}\\.conf\"\n";
}
function find_dhclient_process($interface) {
OpenPOWER on IntegriCloud