1#!/bin/sh 2 3# Log some extra information at the beginning of a suspend/resume cycle. 4 5echo "!!!!!!!!!!!npu $1 $2" > /dev/kmsg 6 7case "$1-$2" in 8 pre-hibernate|pre-suspend) 9 npu_powerctrl -s 10 ;; 11 post-hibernate|post-suspend) 12 npu_powerctrl -r 13 ;; 14 *) exit $NA 15 ;; 16esac 17