aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-06-04 23:38:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-06-04 23:38:59 -0300
commit417b116500320ff87e4427b60f15bf922d784ee0 (patch)
tree7e1aeedbc421abddc536cff5b2df8a5edaf47925
parent3ccd2672b3e016d4a098738fe36472565fd2f66b (diff)
downloadscripts-417b116500320ff87e4427b60f15bf922d784ee0.tar.gz
scripts-417b116500320ff87e4427b60f15bf922d784ee0.tar.bz2
Sleep after xlock on suspend/hibernate
-rwxr-xr-xxhibernate1
-rwxr-xr-xxsuspend1
2 files changed, 2 insertions, 0 deletions
diff --git a/xhibernate b/xhibernate
index 1f0d8bf..de26f1e 100755
--- a/xhibernate
+++ b/xhibernate
@@ -4,4 +4,5 @@
#
xlock
+sleep 2
sudo s2disk
diff --git a/xsuspend b/xsuspend
index 7eea259..e1ecd71 100755
--- a/xsuspend
+++ b/xsuspend
@@ -4,4 +4,5 @@
#
xlock
+sleep 2
sudo pm-suspend