diff options
author | Armin K <krejzi@email.com> | 2012-09-03 15:38:00 +0000 |
---|---|---|
committer | Ray Strode <rstrode@redhat.com> | 2013-02-04 23:35:27 -0500 |
commit | b6c11aa4626f98088fdacf60cd69d6cff22b14bc (patch) | |
tree | fc030f8e47767a506c6f86116519967fceb186d5 | |
parent | 6fed512bb47b026f0b229a359d5f5bdd2fcc7cdf (diff) | |
download | gdm-b6c11aa4626f98088fdacf60cd69d6cff22b14bc.tar.gz |
Remove gdm wrapper script
This commit drops the gdm wrapper script, removing
one more instance of shell in boot up.
https://bugzilla.gnome.org/show_bug.cgi?id=683278
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | daemon/Makefile.am | 29 | ||||
-rw-r--r-- | daemon/gdm.in | 21 | ||||
-rw-r--r-- | docs/C/index.docbook | 18 |
4 files changed, 15 insertions, 54 deletions
@@ -102,7 +102,6 @@ config.h.in config.sub configure daemon/gdm -daemon/gdm-binary daemon/gdm-factory-slave daemon/gdm-session-worker daemon/gdm-simple-slave diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 582ff767..98c23802 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -300,10 +300,10 @@ gdm_session_worker_LDADD = \ $(NULL) sbin_PROGRAMS = \ - gdm-binary \ + gdm \ $(NULL) -gdm_binary_SOURCES = \ +gdm_SOURCES = \ main.c \ gdm-display-access-file.c \ gdm-display-access-file.h \ @@ -327,7 +327,7 @@ gdm_binary_SOURCES = \ gdm-dbus-util.h \ $(NULL) -nodist_gdm_binary_SOURCES = \ +nodist_gdm_SOURCES = \ gdm-display-glue.h \ gdm-display-glue.c \ gdm-local-display-factory-glue.h \ @@ -361,26 +361,26 @@ XDMCP_nodist_SOURCES = \ $(NULL) if XDMCP_SUPPORT -gdm_binary_SOURCES += $(XDMCP_SOURCES) -nodist_gdm_binary_SOURCES += $(XDMCP_nodist_SOURCES) +gdm_SOURCES += $(XDMCP_SOURCES) +nodist_gdm_SOURCES += $(XDMCP_nodist_SOURCES) endif -EXTRA_gdm_binary_SOURCES = \ +EXTRA_gdm_SOURCES = \ $(XDMCP_SOURCES) \ $(NULL) CONSOLE_KIT_SOURCES = \ $(NULL) -EXTRA_gdm_binary_SOURCES += $(CONSOLE_KIT_SOURCES) +EXTRA_gdm_SOURCES += $(CONSOLE_KIT_SOURCES) # Note that these libs are in LDFLAGS because they should come before # everything else on the link line as they may override stuff -gdm_binary_LDFLAGS = \ +gdm_LDFLAGS = \ $(EXTRA_DAEMON_LIBS) \ $(NULL) -gdm_binary_LDADD = \ +gdm_LDADD = \ $(top_builddir)/common/libgdmcommon.la \ $(XLIB_LIBS) \ $(DAEMON_LIBS) \ @@ -391,18 +391,10 @@ gdm_binary_LDADD = \ $(NULL) if WITH_CONSOLE_KIT -gdm_binary_SOURCES += $(CONSOLE_KIT_SOURCES) +gdm_SOURCES += $(CONSOLE_KIT_SOURCES) endif -sbin_SCRIPTS = \ - gdm \ - $(NULL) - -gdm: $(srcdir)/gdm.in - sed -e 's,[@]sbindir[@],$(sbindir),g' <$(srcdir)/gdm.in >gdm - CLEANFILES = \ - gdm \ gdm-display-glue.c \ gdm-local-display-factory-glue.c \ gdm-manager-glue.c \ @@ -418,7 +410,6 @@ CLEANFILES = \ $(NULL) EXTRA_DIST = \ - gdm.in \ gdm-manager.xml \ gdm-session-worker.xml \ gdm-session.xml \ diff --git a/daemon/gdm.in b/daemon/gdm.in deleted file mode 100644 index 16bad67f..00000000 --- a/daemon/gdm.in +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# -# A script so that -# 1) we read the standard system env vars -# 2) syadmins/integrators can add their own private options etc... - -test -f /etc/profile && . /etc/profile - -# Make sure LANG is set -# -if [ -z "$LANG" ] -then - if [ -f /etc/sysconfig/language ] - then - LANG=`. /etc/sysconfig/language; echo $RC_LANG` - export LANG - fi -fi - -exec @sbindir@/gdm-binary "$@" - diff --git a/docs/C/index.docbook b/docs/C/index.docbook index a7f1d755..1def3b40 100644 --- a/docs/C/index.docbook +++ b/docs/C/index.docbook @@ -2083,23 +2083,15 @@ Language=cs_CZ.UTF-8 </para> <sect3 id="gdmcommandline"> - <title><command>gdm</command> and <command>gdm-binary</command> - Command Line Options</title> + <title><command>gdm</command> Command Line Options</title> <para> - The <command>gdm</command> command is really just a script which - runs the <command>gdm-binary</command>, passing along any options. - Before launching <command>gdm-binary</command>, the gdm wrapper - script will source the <filename><etc>/profile</filename> file - to set the standard system environment variables. In order to better - support internationalization, it will also set the LC_MESSAGES - environment variable to LANG if neither LC_MESSAGES or LC_ALL are - set. The <command>gdm-binary</command> is the actual GDM daemon. - </para> + <command>gdm</command> is the main daemon which sets up + graphical login environment and starts necesary helpers. + </para> <variablelist> - <title><command>gdm</command> and <command>gdm-binary</command> - Command Line Options</title> + <title><command>gdm</command> Command Line Options</title> <varlistentry> <term>-?, --help</term> |