21 lines
628 B
Plaintext
21 lines
628 B
Plaintext
$OpenBSD: patch-src_config_h,v 1.8 2011/03/06 11:19:53 sthen Exp $
|
|
--- src/config.h.orig Fri Feb 18 05:18:39 2011
|
|
+++ src/config.h Fri Feb 18 15:00:08 2011
|
|
@@ -57,13 +57,13 @@
|
|
# if defined(__FreeBSD__)
|
|
# define CONFFILE "/usr/local/etc/dnsmasq.conf"
|
|
# else
|
|
-# define CONFFILE "/etc/dnsmasq.conf"
|
|
+# define CONFFILE "${SYSCONFDIR}/dnsmasq.conf"
|
|
# endif
|
|
#endif
|
|
|
|
#define DEFLEASE 3600 /* default lease time, 1 hour */
|
|
-#define CHUSER "nobody"
|
|
-#define CHGRP "dip"
|
|
+#define CHUSER "_dnsmasq"
|
|
+#define CHGRP "_dnsmasq"
|
|
#define NAMESERVER_PORT 53
|
|
#define DHCP_SERVER_PORT 67
|
|
#define DHCP_CLIENT_PORT 68
|