Yeah. This content should do the trick.#!/bin/sh

case "${1}" in
        hibernate|suspend)
pm-powersave true
                ;;
        resume|thaw)
pm-powersave false
                ;;
esac

Reply via email to