summaryrefslogtreecommitdiffstats
path: root/move/tree/reboot
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/reboot
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/reboot')
-rwxr-xr-xmove/tree/reboot5
1 files changed, 5 insertions, 0 deletions
diff --git a/move/tree/reboot b/move/tree/reboot
new file mode 100755
index 000000000..b4b1d4ede
--- /dev/null
+++ b/move/tree/reboot
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+echo "reboot" > /var/run/rebootctl
+sudo killall -USR1 startkde_move
+sudo killall X