Compare commits

..

No commits in common. "9c56b2ac91b3a93bf4d55b9a4850f5cad00e046c" and "a3588f35403fb28faf175b4cd37f8957dcb52d01" have entirely different histories.

View file

@ -86,10 +86,10 @@ sudo -v
while true; do sudo -n true; sleep 60; done 2>/dev/null &
SUDO_KEEPALIVE_PID=$!
if [ "$LISTENER_ENABLED" -eq 0 ]; then
log "Starting kismet..."
sudo systemctl start kismet
fi
log "Starting kismet..."
SECONDS=0
sudo systemctl start kismet
log "Kismet startup took $SECONDS seconds"
log "Saturating the capture..."
sleep "$LEAD_TIME"
@ -257,11 +257,8 @@ for ((COUNTER = 1; COUNTER <= NUM_TESTS; COUNTER++)); do
[[ "$COUNTER" -lt "$NUM_TESTS" ]] && log "Waiting $TIME_BETWEEN before next test..." && sleep "$TIME_BETWEEN"
done
if [ "$LISTENER_ENABLED" -eq 0 ]; then
log "Stopping kismet..."
sudo systemctl stop kismet
fi
log "Stopping kismet..."
sudo systemctl stop kismet
if [ "$NO_ENRICH" -eq 0 ]; then
log "Enriching data..."