dots/scripts/Documents/Scripts/screamloop.sh
2024-04-29 19:05:39 +02:00

20 lines
181 B
Bash
Executable file

#!/bin/sh
killall -q scream
trap "exit" INT TERM
trap "kill 0" EXIT
theloop()
{
killall -q scream
scream -i virbr0 &
}
while true
do
theloop
sleep 300
killall -q scream
done