dots/scripts/Documents/Scripts/screamloop.sh

20 lines
181 B
Bash
Raw Permalink Normal View History

2024-04-29 19:05:39 +02:00
#!/bin/sh
2022-04-03 01:02:38 +02:00
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