gjdwebserver-overlay/app-mobilephone/pinephone-meta/files/phosh_renice.sh

9 lines
151 B
Bash
Raw Normal View History

2021-10-03 17:58:12 +02:00
#!/bin/sh
until PIDS="$(pidof phoc) $(pidof phosh) $(pidof squeekboard) $(pidof calls) $(pidof ModemManager)"
do
sleep 1
done
renice -n -1 -p $PIDS