aboutsummaryrefslogtreecommitdiffstats
path: root/roles/workstation/templates/_openbsd/apm-hibernate
diff options
context:
space:
mode:
authorRomain Gonçalves <me@rgoncalves.se>2021-08-26 10:51:22 +0200
committerRomain Gonçalves <me@rgoncalves.se>2021-08-26 10:51:22 +0200
commit3c5475ed9d33ba8a29fcc8f5c4062982350352b4 (patch)
tree671f8a6fe173f46c40d5443851a0c3bd24525817 /roles/workstation/templates/_openbsd/apm-hibernate
parent96f588ad32285aad6d182ed4cd255c10d518b790 (diff)
downloadinfrastructure-3c5475ed9d33ba8a29fcc8f5c4062982350352b4.tar.gz
OpenBSD update
Diffstat (limited to 'roles/workstation/templates/_openbsd/apm-hibernate')
-rwxr-xr-xroles/workstation/templates/_openbsd/apm-hibernate5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/workstation/templates/_openbsd/apm-hibernate b/roles/workstation/templates/_openbsd/apm-hibernate
new file mode 100755
index 0000000..ef90fed
--- /dev/null
+++ b/roles/workstation/templates/_openbsd/apm-hibernate
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -x -e
+
+pkill -USR1 xidle
remember that computers suck.