#!/bin/bash
# -*- Mode: shell-script -*-
# Copyright (C) 2003 by MandrakeSoft, Chmouel Boudjnah <chmouel@mandrakesoft.com>
# Redistribution of this file is permitted under the terms of the GNU 
# Public License (GPL)
#
# resume: 80
# 

. /etc/sysconfig/suspend

ARG=$1

if [[ $ != "yes" ]];then
    exit;
fi

function suspend {
    true
}

function resume {
    if [ -x /usr/sbin/anacron ]; then
	    /usr/sbin/anacron
    fi
}

case $ARG in
    suspend)
	suspend
	;;
    resume)
	resume
	;;
esac