diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-06-17 05:29:04 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2003-06-17 05:29:04 +0800 |
commit | 8171b29ed2cdee934c736d542896fcb11dec1711 (patch) | |
tree | b08e8dcd9067843bfacab8ea7400fc6e0ebade5c /x11/gdm2/files | |
parent | 06f962de5e8b19b71ba6fb49f973aec21894d696 (diff) | |
download | marcuscom-ports-8171b29ed2cdee934c736d542896fcb11dec1711.tar marcuscom-ports-8171b29ed2cdee934c736d542896fcb11dec1711.tar.gz marcuscom-ports-8171b29ed2cdee934c736d542896fcb11dec1711.tar.bz2 marcuscom-ports-8171b29ed2cdee934c736d542896fcb11dec1711.tar.lz marcuscom-ports-8171b29ed2cdee934c736d542896fcb11dec1711.tar.xz marcuscom-ports-8171b29ed2cdee934c736d542896fcb11dec1711.tar.zst marcuscom-ports-8171b29ed2cdee934c736d542896fcb11dec1711.zip |
sessreg requires the -l option despite how the manpage is worded.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@896 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm2/files')
-rw-r--r-- | x11/gdm2/files/patch-config_PostSession.in | 7 | ||||
-rw-r--r-- | x11/gdm2/files/patch-config_PreSession.in | 15 |
2 files changed, 7 insertions, 15 deletions
diff --git a/x11/gdm2/files/patch-config_PostSession.in b/x11/gdm2/files/patch-config_PostSession.in index 5d6635086..0aa508fc9 100644 --- a/x11/gdm2/files/patch-config_PostSession.in +++ b/x11/gdm2/files/patch-config_PostSession.in @@ -1,12 +1,11 @@ ---- config/PostSession.in.orig Mon Jun 16 16:42:51 2003 -+++ config/PostSession.in Mon Jun 16 16:43:18 2003 +--- config/PostSession.in.orig Fri May 30 06:21:12 2003 ++++ config/PostSession.in Mon Jun 16 17:31:05 2003 @@ -2,7 +2,7 @@ PATH=@X_PATH@:$PATH -if command -v sessreg > /dev/null 2>&1; then -- sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER +if /usr/bin/which -s sessreg > /dev/null 2>&1; then -+ sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" $USER + sessreg -d -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER fi exit 0 diff --git a/x11/gdm2/files/patch-config_PreSession.in b/x11/gdm2/files/patch-config_PreSession.in index 8930336dd..c7dea60c9 100644 --- a/x11/gdm2/files/patch-config_PreSession.in +++ b/x11/gdm2/files/patch-config_PreSession.in @@ -1,6 +1,6 @@ ---- config/PreSession.in.orig Mon Jun 16 16:40:28 2003 -+++ config/PreSession.in Mon Jun 16 16:41:15 2003 -@@ -8,16 +8,16 @@ +--- config/PreSession.in.orig Fri May 30 06:21:12 2003 ++++ config/PreSession.in Mon Jun 16 17:30:38 2003 +@@ -8,11 +8,11 @@ # PATH=@X_PATH@:$PATH @@ -13,11 +13,4 @@ +if /usr/bin/which -s sessreg > /dev/null 2>&1; then # some output for easy debugging echo "$0: Registering your session with wtmp and utmp" -- echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" -l $DISPLAY $USER" -+ echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" $USER" - -- exec sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" -l $DISPLAY $USER -+ exec sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "$X_SERVERS" -h "$REMOTE_HOST" $USER - # this is not reached - fi - + echo "$0: running: sessreg -a -w /var/log/wtmp -u /var/run/utmp -x \"$X_SERVERS\" -h \"$REMOTE_HOST\" -l $DISPLAY $USER" |