Same "if" statements merged

This commit is contained in:
Tomas Vanagas 2017-07-21 14:50:40 +01:00 committed by GitHub
parent 34cfa8059c
commit 997138abe8
1 changed files with 0 additions and 3 deletions

View File

@ -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