From 5db01fa4af8ec61cf1c066da3293bcc90b18608e Mon Sep 17 00:00:00 2001 From: strasharo Date: Wed, 23 Mar 2016 01:29:43 +0200 Subject: [PATCH] relocate rfkill unblock inside the interface setup function --- fluxion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fluxion b/fluxion index 13335c0..3f908f1 100755 --- a/fluxion +++ b/fluxion @@ -1,7 +1,5 @@ #!/bin/bash -rfkill unblock all - ########## DEBUG Mode ########## ## ## FLUX_DEBUG=0 @@ -629,6 +627,8 @@ esac # Choose Interface function setinterface { + #unblock interfaces + rfkill unblock all # Collect all interfaces in montitor mode & stop all KILLMONITOR=`iwconfig 2>&1 | grep Monitor | awk '{print $1}'`