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 & while true; do sudo -n true; sleep 60; done 2>/dev/null &
SUDO_KEEPALIVE_PID=$! SUDO_KEEPALIVE_PID=$!
if [ "$LISTENER_ENABLED" -eq 0 ]; then log "Starting kismet..."
log "Starting kismet..." SECONDS=0
sudo systemctl start kismet sudo systemctl start kismet
fi log "Kismet startup took $SECONDS seconds"
log "Saturating the capture..." log "Saturating the capture..."
sleep "$LEAD_TIME" 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" [[ "$COUNTER" -lt "$NUM_TESTS" ]] && log "Waiting $TIME_BETWEEN before next test..." && sleep "$TIME_BETWEEN"
done done
if [ "$LISTENER_ENABLED" -eq 0 ]; then log "Stopping kismet..."
log "Stopping kismet..." sudo systemctl stop kismet
sudo systemctl stop kismet
fi
if [ "$NO_ENRICH" -eq 0 ]; then if [ "$NO_ENRICH" -eq 0 ]; then
log "Enriching data..." log "Enriching data..."