Files
wlan-ap/feeds/ucentral/ucentral-schema/files/usr/bin/tcpdump_timeout
John Crispin 8fb088bcc8 ucentral-schema: update to latest HEAD
b3ce69e wifiscan: allow bandwith override
6d59acc trace: improve tracing code

Fixes: WIFI-7167
Fixes: WIFI-7168
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-22 08:59:48 +01:00

14 lines
103 B
Bash
Executable File

#!/bin/sh
n=$1
shift
if [ $n -eq 0]; then
tcpdump $@
else
tcpdump $@ &
x=$!
sleep $n
kill $x
fi