diff options
Diffstat (limited to 'auto-cpufreq.install')
-rw-r--r-- | auto-cpufreq.install | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/auto-cpufreq.install b/auto-cpufreq.install index 9df56a901b8a..0b0c55da644a 100644 --- a/auto-cpufreq.install +++ b/auto-cpufreq.install @@ -9,19 +9,12 @@ post_install() { echo -e 'To view live log, run:\n' echo -e 'auto-cpufreq --stats\n' - - echo -e 'If the GNOME Power Profiles daemon is installed, it must be masked manually as it conflicts with auto-cpufreq.service:\n' - echo -e 'sudo systemctl mask power-profiles-daemon.service\n' } post_upgrade() { - echo -e "\nauto-cpufreq $1 installed\n" - - echo -e 'Reload systemd manager configuration:\n' - echo -e 'systemctl daemon-reload\n' - - echo -e 'Restart auto-cpufreq daemon service:\n' - echo -e 'systemctl restart auto-cpufreq\n' + systemctl daemon-reload + systemctl restart auto-cpufreq + echo -e 'auto-cpufreq has been restarted\n' } post_remove() { |