448cd57cfd
Add rc.d(8) script. from Brad
38 lines
1.4 KiB
Plaintext
38 lines
1.4 KiB
Plaintext
$OpenBSD: patch-man_dnsmasq_8,v 1.11 2012/04/30 06:02:51 ajacoutot Exp $
|
|
--- man/dnsmasq.8.orig Fri Apr 20 16:28:49 2012
|
|
+++ man/dnsmasq.8 Fri Apr 20 23:04:18 2012
|
|
@@ -113,13 +113,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.
|
|
@@ -1430,7 +1429,7 @@ with # are always skipped. This flag may be given on t
|
|
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
|
|
@@ -1748,7 +1747,7 @@ dnsmasq has no direct way of determining the charset i
|
|
assume that it is the system default.
|
|
|
|
.SH FILES
|
|
-.IR /etc/dnsmasq.conf
|
|
+.IR ${SYSCONFDIR}/dnsmasq.conf
|
|
|
|
.IR /usr/local/etc/dnsmasq.conf
|
|
|