relocate rfkill unblock inside the interface setup function
This commit is contained in:
parent
dfc0bcc0e1
commit
5db01fa4af
4
fluxion
4
fluxion
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rfkill unblock all
|
|
||||||
|
|
||||||
########## DEBUG Mode ##########
|
########## DEBUG Mode ##########
|
||||||
## ##
|
## ##
|
||||||
FLUX_DEBUG=0
|
FLUX_DEBUG=0
|
||||||
|
@ -629,6 +627,8 @@ esac
|
||||||
|
|
||||||
# Choose Interface
|
# Choose Interface
|
||||||
function setinterface {
|
function setinterface {
|
||||||
|
#unblock interfaces
|
||||||
|
rfkill unblock all
|
||||||
|
|
||||||
# Collect all interfaces in montitor mode & stop all
|
# Collect all interfaces in montitor mode & stop all
|
||||||
KILLMONITOR=`iwconfig 2>&1 | grep Monitor | awk '{print $1}'`
|
KILLMONITOR=`iwconfig 2>&1 | grep Monitor | awk '{print $1}'`
|
||||||
|
|
Loading…
Reference in New Issue