summaryrefslogtreecommitdiffstats
path: root/move/tree
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
parentd3551589c911a40239d5be2b7ddc414f89dd548f (diff)
downloaddrakx-backup-do-not-use-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar
drakx-backup-do-not-use-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.gz
drakx-backup-do-not-use-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.bz2
drakx-backup-do-not-use-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.tar.xz
drakx-backup-do-not-use-f3837fd9c687ec40de7aab3a56ce75cc39aa2961.zip
allow to halt machine
Diffstat (limited to 'move/tree')
-rwxr-xr-xmove/tree/halt5
-rwxr-xr-xmove/tree/reboot (renamed from move/tree/halt_reboot)0
2 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
diff --git a/move/tree/halt_reboot b/move/tree/reboot
index b4b1d4ede..b4b1d4ede 100755
--- a/move/tree/halt_reboot
+++ b/move/tree/reboot