From d2b127c70c8603c3e688e041cbafa704e876bc6a Mon Sep 17 00:00:00 2001 From: Jose Date: Tue, 10 Feb 2026 20:54:35 +0100 Subject: [PATCH] =?UTF-8?q?chore=20=F0=9F=93=A6:=20Add=20environment=20var?= =?UTF-8?q?iable=20to=20powertop.service.j2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit adds an environment variable to the powertop service configuration file. This change is necessary to ensure that power management settings are applied correctly during system startup. --- templates/powertop.service.j2 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/powertop.service.j2 b/templates/powertop.service.j2 index 4f2e260..6800a6d 100644 --- a/templates/powertop.service.j2 +++ b/templates/powertop.service.j2 @@ -1,11 +1,12 @@ [Unit] -Description=Powertop auto tune +Description=PowerTOP auto tune After=multi-user.target [Service] Type=oneshot -ExecStart=/usr/sbin/powertop --auto-tune +Environment="TERM=dumb" RemainAfterExit=true +ExecStart=/usr/sbin/powertop --auto-tune [Install] WantedBy=multi-user.target -- 2.49.1