From 9c15e029b8a5373a96ff7fd55b9b0427e7577f60 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Wed, 8 Apr 2015 21:21:17 +0200 Subject: set lock-file for gnome reboot --- files/99dm-reload.xsetup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1