summaryrefslogtreecommitdiffstats
path: root/move/tree/halt
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-27 13:18:47 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-27 13:18:47 +0000
commitf3837fd9c687ec40de7aab3a56ce75cc39aa2961 (patch)
treec87b4a2f708c86f0c14e8af25f74a9a06255312a /move/tree/halt
parentd3551589c911a40239d5be2b7ddc414f89dd548f (diff)
downloaddrakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar
drakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.gz
drakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.bz2
drakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.xz
drakx-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.zip
allow to halt machine
Diffstat (limited to 'move/tree/halt')
-rwxr-xr-xmove/tree/halt5
1 files changed, 5 insertions, 0 deletions
diff --git a/move/tree/halt b/move/tree/halt
new file mode 100755
index 000000000..c8431ac03
--- /dev/null
+++ b/move/tree/halt
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo "halt" > /var/run/rebootctl
+sudo killall -USR1 startkde_move
+sudo killall X