Skip to content

add entry in /usr/lib/pm-utils/sleep.d to run houry on resume/thaw #17

@jonbodner

Description

@jonbodner

Hello,

I just added a file 99zzkidtimer to /usr/lib/pm-utils/sleep.d so that kidtimer will run when my computer is woken from sleep:

#!/bin/sh

# This script makes kidtimer update account status when the machine is woken up.
# For a laptop, these are the closest parallels to turning on a desktop.

case $1 in
    resume|thaw)
        /usr/local/bin/kidtimer hourly
        ;;
esac

Do you think this could be added to the distribution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions