1#!/bin/sh 2# Log some extra information at the beginning of a suspend/resume cycle. 3# TODO: Make this hook only run when PM_DEBUG is true? 4 5. "${PM_FUNCTIONS}" 6 7case "$1" in 8 hibernate|suspend) 9 npu_powerctrl -s 10 ;; 11 thaw|resume) 12 npu_powerctrl -r 13 ;; 14 *) exit $NA 15 ;; 16esac 17