Files
StarPilot/selfdrive/camerad/test/stress_restart.sh
T
George Hotz 78d3dfe8ae selfdrive/camerad
old-commit-hash: 84560ccd55
2020-01-17 10:52:42 -08:00

10 lines
95 B
Bash
Executable File

#!/bin/sh
cd ..
while :; do
./camerad &
pid="$!"
sleep 2
kill -2 $pid
wait $pid
done