Package: anacron
tags: patch
Version: 2.3-13.1

        I have a script from somewhere that has worked well for me over the 
last year 
or so:

-----------------------
/etc/pm/sleep.d/anacron 
-----------------------
#!/bin/sh

# This script makes anacron jobs start to run when the machine is
# resumed from suspend or hibernate.

case "$1" in
  resume|thaw)
    /usr/sbin/invoke-rc.d anacron start >/dev/null
    ;;
esac
-----------------------

        There is no special action on hibernate/suspend, only on resume/thaw.  
Haven't noticed any problems.

C.


--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.28.7

Debian Release: 5.0
  990 testing         security.debian.org 
  990 testing         ftp.egr.msu.edu 
  990 lenny           linux.dell.com 
  990 hardy           linux.dell.com 
  990 cross-distro    linux.dell.com 
  980 testing         mirror.csclub.uwaterloo.ca 
   50 unstable        http.us.debian.org 
   40 experimental    http.us.debian.org 
   30 jaunty          us.archive.ubuntu.com 
   25 unstable        mirror.csclub.uwaterloo.ca 

--- Package information. ---
Depends           (Version) | Installed
===========================-+-============
debianutils        (>= 1.7) | 2.31
libc6            (>= 2.7-1) | 2.7-18
lsb-base        (>= 3.0-10) | 3.2-20



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to