wifi_test/start-test.sh
2025-05-02 14:36:12 -05:00

7 lines
278 B
Bash
Executable file

#!/bin/bash
BOOT_ID=$(cat /proc/sys/kernel/random/boot_id)
LOG_FILE="${HOME}/${BOOT_ID}-session.log"
SCRIPT_PATH="$(realpath "$(dirname "$0")/runtest.sh")"
echo "[+] Starting session logging to $LOG_FILE"
exec script -q "$LOG_FILE" --return --flush --command "$SCRIPT_PATH $*"