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

. /usr/lib/pm-utils/functions

RETVAL=0
case "$1" in
	hibernate|suspend)
		TERM=linux openvt -w -s -f -c 63 -- clear >/dev/null 2>&1
		RETVAL=$?
		;;
	*)
		;;
esac

exit $RETVAL