diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-13 00:08:42 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-13 00:08:42 +0000 |
commit | 827d67e2952825bdf6ea6cdf85a7ba333ae5a993 (patch) | |
tree | 585a4d2e69faa042cd38c77bcd902569d9dcc6ac /etc | |
parent | af61b6855f3d7ba016c2513ccf5424df73c98474 (diff) | |
download | pfsense-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.inc | 3 |
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; |