exclude rt73 driver from rmmod
https://github.com/deltaxflux/fluxion/issues/178
This commit is contained in:
parent
c66a767153
commit
589161da10
6
fluxion
6
fluxion
|
@ -29,7 +29,7 @@ ipNmap=`ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*)
|
||||||
# Deauth duration during handshake capture
|
# Deauth duration during handshake capture
|
||||||
# oo
|
# oo
|
||||||
DEAUTHTIME="9999999999999"
|
DEAUTHTIME="9999999999999"
|
||||||
revision=61
|
revision=62
|
||||||
version=0.23
|
version=0.23
|
||||||
IP=192.168.1.1
|
IP=192.168.1.1
|
||||||
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
|
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)
|
||||||
|
@ -1157,7 +1157,7 @@ function setinterface {
|
||||||
readarray -t naggysoftware < <(./airmon check $PREWIFI | tail -n +8 | grep -v "on interface" | awk '{ print $2 }')
|
readarray -t naggysoftware < <(./airmon check $PREWIFI | tail -n +8 | grep -v "on interface" | awk '{ print $2 }')
|
||||||
WIFIDRIVER=$(./airmon | grep "$PREWIFI" | awk '{print($(NF-2))}')
|
WIFIDRIVER=$(./airmon | grep "$PREWIFI" | awk '{print($(NF-2))}')
|
||||||
|
|
||||||
if [ ! "$(echo $WIFIDRIVER | grep 2800)" ]; then
|
if [ ! "$(echo $WIFIDRIVER | egrep 'rt2800|rt73')" ]; then
|
||||||
rmmod -f "$WIFIDRIVER" &>$flux_output_device 2>&1
|
rmmod -f "$WIFIDRIVER" &>$flux_output_device 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -1166,7 +1166,7 @@ function setinterface {
|
||||||
done
|
done
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
|
|
||||||
if [ ! "$(echo $WIFIDRIVER | grep 2800)" ]; then
|
if [ ! "$(echo $WIFIDRIVER | egrep 'rt2800|rt73')" ]; then
|
||||||
modprobe "$WIFIDRIVER" &>$flux_output_device 2>&1
|
modprobe "$WIFIDRIVER" &>$flux_output_device 2>&1
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue