summaryrefslogtreecommitdiffstats
path: root/move/tree/X_move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-26 16:46:26 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-26 16:46:26 +0000
commit023504a1a6d43414f366562485d14dcbdffbedc8 (patch)
treeb2b766daa41f94683e2d81c2b9cad576c7f804ae /move/tree/X_move
parent0088de274228b3a7d55b64481a6dbdb54b8e4279 (diff)
downloaddrakx-023504a1a6d43414f366562485d14dcbdffbedc8.tar
drakx-023504a1a6d43414f366562485d14dcbdffbedc8.tar.gz
drakx-023504a1a6d43414f366562485d14dcbdffbedc8.tar.bz2
drakx-023504a1a6d43414f366562485d14dcbdffbedc8.tar.xz
drakx-023504a1a6d43414f366562485d14dcbdffbedc8.zip
allow to reboot the machine
Diffstat (limited to 'move/tree/X_move')
-rwxr-xr-xmove/tree/X_move2
1 files changed, 1 insertions, 1 deletions
diff --git a/move/tree/X_move b/move/tree/X_move
index df085fcd8..a5969ed9a 100755
--- a/move/tree/X_move
+++ b/move/tree/X_move
@@ -1,7 +1,7 @@
#!/bin/bash
ok=0
-while [ "$ok" == 0 ]; do
+while [ "$ok" == 0 -a ! -f /tmp/reboot ]; do
X $@
ok=$?
done