summaryrefslogtreecommitdiff
path: root/pm/sleep.d/00logging
blob: 563745af256cf43996315769ca69bc381fdd81f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

. /usr/lib/pm-utils/functions

case "$1" in
        hibernate|suspend)
		[ -n "$PM_LOGFILE" ] || exit 0
		echo -e "Kernel version: `/bin/uname -a`\n"
		echo -e "`lsmod`\n"
		echo -e "`free`\n"
		;;
esac

exit 0