From 618ac82debc597114cad85cccba712e29751eef1 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 11 Oct 2017 01:57:18 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to emerge run --- init.d/cpupower | 3 +-- systemd/system/cpupower-frequency-set.service.d/00gentoo.conf | 2 ++ 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 systemd/system/cpupower-frequency-set.service.d/00gentoo.conf diff --git a/init.d/cpupower b/init.d/cpupower index e209c05e..febed865 100755 --- a/init.d/cpupower +++ b/init.d/cpupower @@ -1,7 +1,6 @@ -#!/sbin/runscript +#!/sbin/openrc-run # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ CPUFREQ_SYSFS=/sys/devices/system/cpu/cpufreq diff --git a/systemd/system/cpupower-frequency-set.service.d/00gentoo.conf b/systemd/system/cpupower-frequency-set.service.d/00gentoo.conf new file mode 100644 index 00000000..969c8ab2 --- /dev/null +++ b/systemd/system/cpupower-frequency-set.service.d/00gentoo.conf @@ -0,0 +1,2 @@ +[Service] +Environment="OPTS=-g ondemand" -- 2.39.5