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

9 lines
151 B
Bash
Executable File

#!/bin/sh
until PIDS="$(pidof phoc) $(pidof phosh) $(pidof squeekboard) $(pidof calls) $(pidof ModemManager)"
do
sleep 1
done
renice -n -1 -p $PIDS