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

. /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