#!/bin/bash

# first get helper functions (e.g. DEBUG, load_scheme, ...)
. "${0%/*}/helper_functions"
. "${SCRIPT_DIR}/sleep_helper_functions"

set_variables "suspend2ram"

## EV_ID="$4" # set in helper_functions

echo "========we are back from suspend, cleaning up.========" >> $LSMOD_LOG
restore_after_sleep "suspend2ram"

echo "======================================" >> $LSMOD_LOG
echo "restore_after_suspend_to_ram: finished" >> $LSMOD_LOG

# $SCRIPT_RETURN is called in restore_after_sleep.
EXIT 0
