summaryrefslogtreecommitdiff
path: root/recipes/suspend-desktop/suspend.sh
blob: 990bc09949e7c5492bedeaf1817d8b1bebafb814 (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
if [ -x /usr/bin/apm ]
then
	/usr/bin/apm --suspend
else
	if [ -x /usr/bin/pm ]
	then
		/usr/bin/pm -pp
	fi
fi