From 827d67e2952825bdf6ea6cdf85a7ba333ae5a993 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 13 Nov 2005 00:08:42 +0000 Subject: Do not check if hostapd is running. Simply kill it. --- etc/inc/interfaces.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'etc') 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; -- cgit v1.1