openbsd-ports/net/dnsmasq/patches/patch-man_dnsmasq_8

38 lines
1.4 KiB
Plaintext
Raw Normal View History

$OpenBSD: patch-man_dnsmasq_8,v 1.6 2009/06/14 17:07:25 kili Exp $
--- man/dnsmasq.8.orig Mon Jun 8 23:05:30 2009
+++ man/dnsmasq.8 Sun Jun 14 17:04:47 2009
@@ -105,13 +105,12 @@ Specify an alternate path for dnsmasq to record its pr
.TP
.B \-u, --user=<username>
Specify the userid to which dnsmasq will change after startup. Dnsmasq must normally be started as root, but it will drop root
-privileges after startup by changing id to another user. Normally this user is "nobody" but that
+privileges after startup by changing id to another user. Normally this user is "_dnsmasq" but that
can be over-ridden with this switch.
.TP
.B \-g, --group=<groupname>
Specify the group which dnsmasq will run
-as. The defaults to "dip", if available, to facilitate access to
-/etc/ppp/resolv.conf which is not normally world readable.
+as. This defaults to "_dnsmasq".
.TP
.B \-v, --version
Print the version number.
@@ -1002,7 +1001,7 @@ with # are skipped. This flag may be given on the comm
line or in a configuration file.
.SH CONFIG FILE
At startup, dnsmasq reads
-.I /etc/dnsmasq.conf,
+.I ${SYSCONFDIR}/dnsmasq.conf,
if it exists. (On
FreeBSD, the file is
.I /usr/local/etc/dnsmasq.conf
@@ -1239,7 +1238,7 @@ dnsmasq has been tested successfully with one million
file needs a 1GHz processor and about 60Mb of RAM.
.SH FILES
-.IR /etc/dnsmasq.conf
+.IR ${SYSCONFDIR}/dnsmasq.conf
.IR /usr/local/etc/dnsmasq.conf