[X2Go-Commits] [x2gothinclient] 01/01: restart.lightdm: trap several SIGNALS before restarting lightdm

git-admin at x2go.org git-admin at x2go.org
Thu Aug 28 13:52:46 CEST 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gothinclient.

commit f088e8384c8116f599cccf287b1a6e0ae9a14c8f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Aug 28 13:52:41 2014 +0200

    restart.lightdm: trap several SIGNALS before restarting lightdm
---
 minidesktop/etc/restart.lightdm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/minidesktop/etc/restart.lightdm b/minidesktop/etc/restart.lightdm
index 35b5059..230e6f5 100755
--- a/minidesktop/etc/restart.lightdm
+++ b/minidesktop/etc/restart.lightdm
@@ -1,4 +1,6 @@
 #!/bin/sh
 
-invoke-rc.d lightdm restart
+trap "" SIGHUP SIGINT SIGTERM
+PATH=$PATH:/sbin:/usr/sbin
+service lightdm restart
 

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gothinclient.git


More information about the x2go-commits mailing list