aboutsummaryrefslogtreecommitdiff
path: root/local/bin/sys-suspend
diff options
context:
space:
mode:
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