From 997138abe84685557bdfda342a02df58852ec1b1 Mon Sep 17 00:00:00 2001 From: Tomas Vanagas Date: Fri, 21 Jul 2017 14:50:40 +0100 Subject: [PATCH] Same "if" statements merged --- fluxion.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/fluxion.sh b/fluxion.sh index 76e2a0b..8769747 100755 --- a/fluxion.sh +++ b/fluxion.sh @@ -2091,10 +2091,7 @@ function attack { sleep 0.4 ifconfig $WIFI up sleep 0.4 - fi - - if [ $fakeapmode = "hostapd" ]; then killall hostapd &> $flux_output_device xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FFFFFF" -title "AP" -e hostapd $DUMP_PATH/hostapd.conf & elif [ $fakeapmode = "airbase-ng" ]; then