# default: 10 minutes
#SHUTDOWN_DEFAULT_RETRY_TIME="10"
#
# Set the systems hardware clock during shutdown.
# allowed values: yes no
# default: no
#SHUTDOWN_SYSTOHC="yes"
# Debugging variables:
#DEBUG=1
#DRY_SHUTDOWN=1
do_systohc() {
hwclock --systohc
}
if yesno "${SHUTDOWN_SYSTOHC:-no}"; then
do_systohc
fi