summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcady Genkin <agenkin@gentoo.org>2002-05-20 17:49:55 +0000
committerArcady Genkin <agenkin@gentoo.org>2002-05-20 17:49:55 +0000
commitb0a268f45098078672176d82ccb7b173729b3ed0 (patch)
tree53571f16e71ac8ce7f544c834eada679b74c96ae /x11-base
parentRemoved xfs port specification from the startup file and moved it into (diff)
downloadhistorical-b0a268f45098078672176d82ccb7b173729b3ed0.tar.gz
historical-b0a268f45098078672176d82ccb7b173729b3ed0.tar.bz2
historical-b0a268f45098078672176d82ccb7b173729b3ed0.zip
Merged the changes from -r9.
Diffstat (limited to 'x11-base')
-rw-r--r--x11-base/xfree/files/4.2.0-r10/xfs.config4
-rw-r--r--x11-base/xfree/files/4.2.0-r10/xfs.start6
2 files changed, 7 insertions, 3 deletions
diff --git a/x11-base/xfree/files/4.2.0-r10/xfs.config b/x11-base/xfree/files/4.2.0-r10/xfs.config
index c99df93c8e3a..8db2737ca71c 100644
--- a/x11-base/xfree/files/4.2.0-r10/xfs.config
+++ b/x11-base/xfree/files/4.2.0-r10/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-r10/xfs.start b/x11-base/xfree/files/4.2.0-r10/xfs.start
index e1d8e147b622..d9b3f4e288d2 100644
--- a/x11-base/xfree/files/4.2.0-r10/xfs.start
+++ b/x11-base/xfree/files/4.2.0-r10/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-r10/xfs.start,v 1.1 2002/05/10 14:20:38 daybird Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-base/xfree/files/4.2.0-r10/xfs.start,v 1.2 2002/05/20 17:49:55 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 $?
}