translate variable

This commit is contained in:
STRSHR 2016-10-08 13:07:46 +03:00
parent 2d106d623b
commit 42e8eafb8e
1 changed files with 3 additions and 3 deletions

View File

@ -1108,12 +1108,12 @@ function setinterface {
setinterface
fi
readarray -t softwaremolesto < <(./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))}')
rmmod -f "$WIFIDRIVER" &>$flux_output_device 2>&1
for molesto in "${softwaremolesto[@]}"; do
killall "$molesto" &>$flux_output_device
for nagger in "${naggysoftware[@]}"; do
killall "$nagger" &>$flux_output_device
done
sleep 0.5