From 537e974d8e2ee1690dcaad3e2affb89d9b07536f Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Tue, 13 Feb 2007 08:33:33 +0000 Subject: Call sessionexit script if running on Solaris. Now set Exec/TryExec to 2006-02-13 Brian Cameron * config/PostSession.in: Call sessionexit script if running on Solaris. * configure.ac, config/gnome.desktop.in.in: Now set Exec/TryExec to /usr/dt/config/Xsession.jds for Solaris. * po/POTFILES.in, po/POTFILES.skip: Update to reflect the move of gnome.desktop.in to gnome.desktop.in.in. svn path=/trunk/; revision=4589 --- config/PostSession.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config/PostSession.in') diff --git a/config/PostSession.in b/config/PostSession.in index f21aa848..b8667431 100755 --- a/config/PostSession.in +++ b/config/PostSession.in @@ -23,4 +23,14 @@ SESSREG=`gdmwhich sessreg` if [ "x$SESSREG" != "x" ] ; then "$SESSREG" -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l "$DISPLAY" "$USER" fi + +# If running on Solaris, run sessionexit script. +# +if [ -x "/etc/dt/config/sessionexit" ]; then + /etc/dt/config/sessionexit +fi +if [ -x "/usr/dt/config/sessionexit" ]; then + /usr/dt/config/sessionexit +fi + exit 0 -- cgit v1.2.1