Files
poky/openembedded/packages/apmd/apmd-3.2.2/hwclock
Richard Purdie 4b46c1f6e8 Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
2005-08-31 10:45:47 +00:00

235 B

#!/bin/sh

Preserve the system clock around suspend/resume.

INIT="/etc/init.d/hwclock.sh" [ -x "${INIT}" ] || exit 0

case "${1},${2}" in (suspend,*) "${INIT}" stop ;; (resume,suspend) "${INIT}" start ;; esac

exit 0