From c1fcabb18cc236ddd704e7b4d7830b6337974848 Mon Sep 17 00:00:00 2001 From: aroundthfur <37984417+aroundthfur@users.noreply.github.com> Date: Sun, 5 Jan 2020 20:52:06 +0100 Subject: [PATCH] fix systemd unit file removal path (#13) --- scripts/auto-cpufreq-remove.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/auto-cpufreq-remove.sh b/scripts/auto-cpufreq-remove.sh index aafe248..a0157a4 100755 --- a/scripts/auto-cpufreq-remove.sh +++ b/scripts/auto-cpufreq-remove.sh @@ -18,7 +18,7 @@ echo -e "\n* Disabling auto-cpufreq daemon (systemd) at boot" systemctl disable auto-cpufreq echo -e "\n* Removing auto-cpufreq daemon (systemd) unit file" -rm /lib/systemd/system/auto-cpufreq.service +rm /usr/lib/systemd/system/auto-cpufreq.service echo -e "\n* Reloading systemd manager configuration" systemctl daemon-reload @@ -35,4 +35,4 @@ rm /usr/bin/auto-cpufreq echo -e "\n* Removing auto-cpufreq log file" rm /var/log/auto-cpufreq.log -echo -e "\n-------------------------------------------------------------------------------\n" \ No newline at end of file +echo -e "\n-------------------------------------------------------------------------------\n"