summaryrefslogtreecommitdiffstats
path: root/files/99dm-reload.xsetup
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-05-28 22:47:35 +0200
committerThomas Backlund <tmb@mageia.org>2015-05-28 22:47:35 +0200
commit880529fa54ae203434679ec7dda3db81a9e15436 (patch)
tree04d8797de861b052761dd99441d89f2569edd236 /files/99dm-reload.xsetup
parent5a21bdacb1100ab1a34b88e88672be71416ee325 (diff)
downloaddraklive-config-880529fa54ae203434679ec7dda3db81a9e15436.tar
draklive-config-880529fa54ae203434679ec7dda3db81a9e15436.tar.gz
draklive-config-880529fa54ae203434679ec7dda3db81a9e15436.tar.bz2
draklive-config-880529fa54ae203434679ec7dda3db81a9e15436.tar.xz
draklive-config-880529fa54ae203434679ec7dda3db81a9e15436.zip
add a small delay before restarting display-manager
Diffstat (limited to 'files/99dm-reload.xsetup')
-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 da38a63..8a467fb 100755
--- a/files/99dm-reload.xsetup
+++ b/files/99dm-reload.xsetup
@@ -3,5 +3,6 @@ LOCK=/run/lock/reload-dm
if [ -f "$LOCK" ]; then
rm -f $LOCK
touch /etc/draklive-install.d/gnome-reboot
- /usr/bin/systemctl --no-block restart display-manager.service
+ sleep 2
+ /usr/bin/systemctl restart display-manager.service
fi