Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-11-08 23:08:33 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-11-08 23:08:33 (GMT)
commitc8cd4bcc4eeb427ffefa9de98d50a27a2f76c72f (patch)
treeeaee14d4470d80df8847b69d9d334b6a236d4fa2 /shell
parentd1a9762cb8fc353df0031d4cd90c79eb8a987f57 (diff)
Add a shutdown key combination. Release 0.51
Diffstat (limited to 'shell')
-rwxr-xr-xshell/sugar-shutdown4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/sugar-shutdown b/shell/sugar-shutdown
new file mode 100755
index 0000000..e511b3d
--- /dev/null
+++ b/shell/sugar-shutdown
@@ -0,0 +1,4 @@
+#!/bin/sh
+dbus-send --system --print-reply --dest=org.freedesktop.Hal \
+/org/freedesktop/Hal/devices/computer \
+org.freedesktop.Hal.Device.SystemPowerManagement.Shutdown