All of lore.kernel.org
 help / color / mirror / Atom feed
From: tarqui <tarqui@aruba.it>
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] fancontrol doesn't restart on resume from suspend or hibernation (with solution)
Date: Thu, 13 Aug 2015 06:15:16 +0000	[thread overview]
Message-ID: <55CC35F4.9010507@aruba.it> (raw)

hi, i'm using debian stable (now jessie).

i solved the issue in the subject by adding this script
/lib/systemd/system-sleep/fancontrol (of course made executable with
chmod +x)

#!/bin/sh
#
# /lib/systemd/system-sleep/fancontrol
#
# restart fancontrol on resume

case "${1}" in
    pre)
        # does nothing
    ;;
    post)
        /etc/init.d/fancontrol restart
    ;;
    *) exit
    ;;
esac

--

i hope this will be merged in some next .deb package in repository.
many thanks for this little big utility.
regards.
tarqui

_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

                 reply	other threads:[~2015-08-13  6:15 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55CC35F4.9010507@aruba.it \
    --to=tarqui@aruba.it \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.