summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-04-08 21:21:17 +0200
committerThomas Backlund <tmb@mageia.org>2015-04-08 21:21:17 +0200
commit9c15e029b8a5373a96ff7fd55b9b0427e7577f60 (patch)
tree5f1641d91f5b71a9f18549c6f0b737f51afb2b0a
parenta3eb43ffac62976a4a415dedfcbd6384fcbf77fa (diff)
downloaddraklive-config-9c15e029b8a5373a96ff7fd55b9b0427e7577f60.tar
draklive-config-9c15e029b8a5373a96ff7fd55b9b0427e7577f60.tar.gz
draklive-config-9c15e029b8a5373a96ff7fd55b9b0427e7577f60.tar.bz2
draklive-config-9c15e029b8a5373a96ff7fd55b9b0427e7577f60.tar.xz
draklive-config-9c15e029b8a5373a96ff7fd55b9b0427e7577f60.zip
set lock-file for gnome reboot
-rwxr-xr-xfiles/99dm-reload.xsetup3
1 files changed, 2 insertions, 1 deletions
diff --git a/files/99dm-reload.xsetup b/files/99dm-reload.xsetup
index 55cf895..da38a63 100755
--- a/files/99dm-reload.xsetup
+++ b/files/99dm-reload.xsetup
@@ -1,6 +1,7 @@
#!/bin/sh
LOCK=/run/lock/reload-dm
if [ -f "$LOCK" ]; then
- rm -f $LOCK
+ rm -f $LOCK
+ touch /etc/draklive-install.d/gnome-reboot
/usr/bin/systemctl --no-block restart display-manager.service
fi