diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-04-08 21:21:17 +0200 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-04-08 21:21:17 +0200 |
commit | 9c15e029b8a5373a96ff7fd55b9b0427e7577f60 (patch) | |
tree | 5f1641d91f5b71a9f18549c6f0b737f51afb2b0a | |
parent | a3eb43ffac62976a4a415dedfcbd6384fcbf77fa (diff) | |
download | draklive-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-x | files/99dm-reload.xsetup | 3 |
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 |