Looked at the last post where you had items highlighted, looks like a script can be written to insert those commands into the various files.
But those are not my mods that I created for MoOde. Not sure which mods you are using....some of those were from Rune, others from Archamigo [power mods], and then there are others. Taking the best of all worlds is a good idea.
I'm in the process of writing a script to insert my mods into various files within Rune at the moment. I might look into creating another to include these as well.
Problems with your mod as shown:
#runeFrost
renice -10 -p 3
renice -10 -p 12
renice -10 -p 16
renice -10 -p 20These PID numbers may change and may be different for each person. For example my Rpi does not even show a pid 3 and 12,16 are not related to anything see below.
root@havana(rw):~# ps -e
PID TTY TIME CMD
1 ? 00:00:07 systemd
2 ? 00:00:00 kthreadd
4 ? 00:00:00 kworker/0:0H
6 ? 00:00:00 mm_percpu_wq
7 ? 00:00:00 ksoftirqd/0
8 ? 00:00:00 rcu_sched
9 ? 00:00:00 rcu_bh
10 ? 00:00:00 migration/0
11 ? 00:00:00 cpuhp/0
12 ? 00:00:00 cpuhp/1
13 ? 00:00:00 migration/1
14 ? 00:00:00 ksoftirqd/1
15 ? 00:00:00 kworker/1:0
16 ? 00:00:00 kworker/1:0H
Also editing the vm numbers are best done in the file that handles the parameters. According to IBM this file would be in /etc/sysctl.d. In the RPi it is the file called raspberrypi.conf.
Thanks