aboutsummaryrefslogtreecommitdiff
path: root/local/bin/sys-suspend
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-10-15 19:22:44 +0200
committerKarel Kočí <cynerd@email.cz>2016-10-15 19:22:44 +0200
commit02a2196150b16ee1c343a5587cadb177016fe222 (patch)
tree8ef95619620a4689a12d26eff0a0287954a2cd3c /local/bin/sys-suspend
parentb17cad80bfaf348ce805868dc4b35211a4c32906 (diff)
downloadmyconfigs-02a2196150b16ee1c343a5587cadb177016fe222.tar.gz
myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.tar.bz2
myconfigs-02a2196150b16ee1c343a5587cadb177016fe222.zip
Update files to changes done while abandoning systemd
Now I use openrc.
Diffstat (limited to 'local/bin/sys-suspend')
-rwxr-xr-xlocal/bin/sys-suspend2
1 files changed, 2 insertions, 0 deletions
diff --git a/local/bin/sys-suspend b/local/bin/sys-suspend
new file mode 100755
index 0000000..49b4b2e
--- /dev/null
+++ b/local/bin/sys-suspend
@@ -0,0 +1,2 @@
+#!/bin/sh
+dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Suspend boolean:true