Comment 13 for bug 36816

Revision history for this message
Rob Latham (rob-terizla) wrote : Re: Doesn't work with hibernation

<i> What I think we should do is add an entry
 /etc/acpi/resume.d/85-anacron.sh which contains

#!/bin/sh
/usr/sbin/invoke-rc.d anacron start >/dev/null

 And, for completeness, a corresponding 'stop' script
/etc/acpi/suspend.d/15-anacron.sh in case anacron is still running when the user suspends.
</i>

I've added these scripts to my dapper-running laptop and removed anacron from STOP_SERVICES. anacron defers execution when resuming and on battery, runs when it should. I'll keep using them for the next few days and report back on how it went. Sure does seem like the right solution, though I left off the redirect to /dev/null.