summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-13 00:08:42 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-13 00:08:42 +0000
commit827d67e2952825bdf6ea6cdf85a7ba333ae5a993 (patch)
tree585a4d2e69faa042cd38c77bcd902569d9dcc6ac /etc
parentaf61b6855f3d7ba016c2513ccf5424df73c98474 (diff)
downloadpfsense-827d67e2952825bdf6ea6cdf85a7ba333ae5a993.zip
pfsense-827d67e2952825bdf6ea6cdf85a7ba333ae5a993.tar.gz
Do not check if hostapd is running. Simply kill it.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 7c8a0a2..96e39f6 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -620,8 +620,7 @@ EOD;
fwrite($fd, "{$wpa}");
fclose($fd);
- if(is_process_running("hostapd"))
- mwexec("$killall hostapd");
+ mwexec("$killall hostapd");
}
break;
OpenPOWER on IntegriCloud