dots/scripts/Documents/Scripts/screamloop.sh

20 lines
183 B
Bash
Raw Normal View History

2022-04-03 01:02:38 +02:00
#!/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