James Sparenberg <[EMAIL PROTECTED]> writes:

> One question that kinda has to do with docs.  I'm reading the scripts to
> try and figure out how things work.  Is there a reason why swsuspend is
> setup to only work with acpi?  Looking at the swsuspend site it would

if [[ -e /proc/acpi/sleep || -n $SWSUSP_FORCE_SUSPEND_MODE ]];then
    /etc/sysconfig/suspend-scripts/suspend.control $debug acpi
elif [[ -e /proc/apm ]];then
    if [[ -z $@ ]];then
        apm -s
    else
        /etc/sysconfig/suspend-scripts/suspend.control $debug apm $@
    fi
fi

> seem that it is intended to be independent of acpi apm or bios suspend. 
> Since I'm running a lovely Compaq laptop with a fuzzed up dsdt table I'm
> on apm here, but what swsup does is really very nice.
>
> James
>  


Reply via email to