1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh . "${PM_FUNCTIONS}" case "$1" in hibernate|suspend*) TERM=linux openvt -w -s -f -c 63 -- clear >/dev/null 2>&1 ;; *) ;; esac