diff options
author | Arcady Genkin <agenkin@gentoo.org> | 2002-05-20 17:47:34 +0000 |
---|---|---|
committer | Arcady Genkin <agenkin@gentoo.org> | 2002-05-20 17:47:34 +0000 |
commit | 1a8eed7d06ca901a4aefffd1b06770ca39324add (patch) | |
tree | fcff12037a286b3702f0cb4c29ed1da178426bf3 | |
parent | fix sdl dep (diff) | |
download | historical-1a8eed7d06ca901a4aefffd1b06770ca39324add.tar.gz historical-1a8eed7d06ca901a4aefffd1b06770ca39324add.tar.bz2 historical-1a8eed7d06ca901a4aefffd1b06770ca39324add.zip |
Removed xfs port specification from the startup file and moved it into
the config file. This closes bug #2860.
-rw-r--r-- | x11-base/xfree/files/4.2.0-r9/xfs.config | 4 | ||||
-rw-r--r-- | x11-base/xfree/files/4.2.0-r9/xfs.start | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/x11-base/xfree/files/4.2.0-r9/xfs.config b/x11-base/xfree/files/4.2.0-r9/xfs.config index c99df93c8e3a..8db2737ca71c 100644 --- a/x11-base/xfree/files/4.2.0-r9/xfs.config +++ b/x11-base/xfree/files/4.2.0-r9/xfs.config @@ -5,6 +5,10 @@ # allow a max of 4 clients to connect to this font server #client-limit = 4 +# the port to listen on; -1 means only listen on the local unix domain +# socket +port = -1 + # when a font server reaches its limit, start up a new one clone-self = on diff --git a/x11-base/xfree/files/4.2.0-r9/xfs.start b/x11-base/xfree/files/4.2.0-r9/xfs.start index 3f2aa16da101..6e4d1305ce91 100644 --- a/x11-base/xfree/files/4.2.0-r9/xfs.start +++ b/x11-base/xfree/files/4.2.0-r9/xfs.start @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/files/4.2.0-r9/xfs.start,v 1.1 2002/04/07 05:41:58 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/files/4.2.0-r9/xfs.start,v 1.2 2002/05/20 17:47:34 agenkin Exp $ depend() { use logger @@ -11,11 +11,11 @@ start() { ebegin "Starting X Font Server" if [ "`grep xfs /etc/passwd`" ] ; then start-stop-daemon --start --quiet --exec /usr/X11R6/bin/xfs \ - -- -port -1 -daemon -config /etc/X11/fs/config \ + -- -daemon -config /etc/X11/fs/config \ -droppriv -user xfs 1>&2 else start-stop-daemon --start --quiet --exec /usr/X11R6/bin/xfs \ - -- -port -1 -daemon -config /etc/X11/fs/config 1>&2 + -- -daemon -config /etc/X11/fs/config 1>&2 fi eend $? } |