dots/scripts/Documents/Scripts/screamloop.sh
2022-04-03 01:02:38 +02:00

20 lines
183 B
Bash

#!/bin/dash
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