Same "if" statements merged
This commit is contained in:
parent
34cfa8059c
commit
997138abe8
|
@ -2091,10 +2091,7 @@ function attack {
|
||||||
sleep 0.4
|
sleep 0.4
|
||||||
ifconfig $WIFI up
|
ifconfig $WIFI up
|
||||||
sleep 0.4
|
sleep 0.4
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
if [ $fakeapmode = "hostapd" ]; then
|
|
||||||
killall hostapd &> $flux_output_device
|
killall hostapd &> $flux_output_device
|
||||||
xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FFFFFF" -title "AP" -e hostapd $DUMP_PATH/hostapd.conf &
|
xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FFFFFF" -title "AP" -e hostapd $DUMP_PATH/hostapd.conf &
|
||||||
elif [ $fakeapmode = "airbase-ng" ]; then
|
elif [ $fakeapmode = "airbase-ng" ]; then
|
||||||
|
|
Loading…
Reference in New Issue