diff options
author | Fabio Erculiani <lxnay@gentoo.org> | 2011-01-22 15:35:49 +0000 |
---|---|---|
committer | Fabio Erculiani <lxnay@gentoo.org> | 2011-01-22 15:35:49 +0000 |
commit | a0a55dff67333f94238c0f20265c88552282587b (patch) | |
tree | 7f5de930e41fd2630adfa8d743455b3ebd15ad91 /x11-apps/xinit/files | |
parent | add lxdm support, see bug #330355 (diff) | |
download | historical-a0a55dff67333f94238c0f20265c88552282587b.tar.gz historical-a0a55dff67333f94238c0f20265c88552282587b.tar.bz2 historical-a0a55dff67333f94238c0f20265c88552282587b.zip |
add lxdm support (changes required in order to load lxdm with --background), see bug #330355
Package-Manager: portage-2.2.0_alpha13/cvs/Linux x86_64
Diffstat (limited to 'x11-apps/xinit/files')
-rw-r--r-- | x11-apps/xinit/files/startDM.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11-apps/xinit/files/startDM.sh b/x11-apps/xinit/files/startDM.sh index 9775b07ff7a5..ebb7970400b6 100644 --- a/x11-apps/xinit/files/startDM.sh +++ b/x11-apps/xinit/files/startDM.sh @@ -1,7 +1,7 @@ #!/bin/sh -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License, v2 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/startDM.sh,v 1.4 2007/04/05 15:30:19 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xinit/files/startDM.sh,v 1.5 2011/01/22 15:35:49 lxnay Exp $ # We need to source /etc/profile for stuff like $LANG to work # bug #10190. @@ -22,9 +22,10 @@ export SVCNAME=xdm EXEC="$(get_options service)" NAME="$(get_options name)" PIDFILE="$(get_options pidfile)" +START_STOP_ARGS="$(get_options start_stop_args)" start-stop-daemon --start --exec ${EXEC} \ -${NAME:+--name} ${NAME} ${PIDFILE:+--pidfile} ${PIDFILE} || \ +${NAME:+--name} ${NAME} ${PIDFILE:+--pidfile} ${PIDFILE} ${START_STOP_ARGS} || \ eerror "ERROR: could not start the Display Manager" # vim:ts=4 |