24 lines
735 B
Text
24 lines
735 B
Text
|
Index: src/config.h
|
||
|
--- src/config.h.orig
|
||
|
+++ src/config.h
|
||
|
@@ -45,8 +45,8 @@
|
||
|
#define ETHERSFILE "/etc/ethers"
|
||
|
#define DEFLEASE 3600 /* default DHCPv4 lease time, one hour */
|
||
|
#define DEFLEASE6 (3600*24) /* default lease time for DHCPv6. One day. */
|
||
|
-#define CHUSER "nobody"
|
||
|
-#define CHGRP "dip"
|
||
|
+#define CHUSER "_dnsmasq"
|
||
|
+#define CHGRP "_dnsmasq"
|
||
|
#define TFTP_MAX_CONNECTIONS 50 /* max simultaneous connections */
|
||
|
#define LOG_MAX 5 /* log-queue length */
|
||
|
#define RANDFILE "/dev/urandom"
|
||
|
@@ -219,7 +219,7 @@ RESOLVFILE
|
||
|
# if defined(__FreeBSD__)
|
||
|
# define CONFFILE "/usr/local/etc/dnsmasq.conf"
|
||
|
# else
|
||
|
-# define CONFFILE "/etc/dnsmasq.conf"
|
||
|
+# define CONFFILE "${SYSCONFDIR}/dnsmasq.conf"
|
||
|
# endif
|
||
|
#endif
|
||
|
|