From a88689b8bb67396ee011071d1228e99a33396776 Mon Sep 17 00:00:00 2001 From: Hyper-KVM Date: Wed, 19 Feb 2020 18:48:54 -0500 Subject: [PATCH] really fix init script this time --- openrc/lenovo_fix | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/openrc/lenovo_fix b/openrc/lenovo_fix index 776c7c9..7bbbe2a 100644 --- a/openrc/lenovo_fix +++ b/openrc/lenovo_fix @@ -1,18 +1,5 @@ #!/usr/bin/openrc-run - command="env python3 /usr/lib/throttled/lenovo_fix.py" pidfile=${pidfile-/var/run/lenovo_fix.pid} description="Stop Intel throttling" - -start() { - ebegin "Starting Throttled daemon" - start-stop-daemon --start --exec $command \ - --make-pidfile --pidfile $pidfile -- "" - eend $? "Failed to start Throttled daemon" -} - -stop() { - ebegin "Stopping Throttled daemon" - start-stop-daemon --quiet --stop --pidfile $pidfile --signal QUIT - eend $? "Failed to stop Throttled daemon" -} +command_background="yes"