custom: mainsail: add to disable 'ondemand' service

The service 'ondemand' is to set CPU governor as 'ondemand' which could
lower the performance, so...removed to run with 'performance' governor
always.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ie5ebde04281dca2305ac9ab09894fb8076c09897
This commit is contained in:
Dongjin Kim
2021-05-23 07:13:21 +09:00
parent 13f01b7824
commit bee68b9ffb

View File

@@ -0,0 +1,5 @@
#!/bin/sh
if [ -f /usr/lib/systemd/system/ondemand.service ]; then
systemctl disable ondemand
fi