summaryrefslogtreecommitdiffstats
path: root/debian/patches/0009-dhcp-sqlipool-Comment-out-mysql.patch
blob: c2ac7855aa4eb8e38f00e2959542d5e3b1bf668c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
From f39ef7f317a49c4e959bed7e9d954e473f49d602 Mon Sep 17 00:00:00 2001
From: Sam Hartman <hartmans@debian.org>
Date: Wed, 1 Oct 2014 16:38:16 -0400
Subject: dhcp sqlipool: Comment out mysql
Forwarded: not-needed

So freeradius does not depend on freeradius-mysql
---
 raddb/modules/dhcp_sqlippool | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

--- a/raddb/mods-available/dhcp_sqlippool
+++ b/raddb/mods-available/dhcp_sqlippool
@@ -97,5 +97,8 @@
 		nopool = "DHCP: No ${..pool_name} defined (cid %{DHCP-Client-Identifier} chaddr %{DHCP-Client-Hardware-Address} giaddr %{DHCP-Gateway-IP-Address})"
 	}
 
-	$INCLUDE ${modconfdir}/sql/ippool-dhcp/${dialect}/queries.conf
+	# This line is commented by default to enable clean startup when you
+	# don't have freeradius-mysql installed. Uncomment this line if you 
+	# use this module.
+	#$INCLUDE ${modconfdir}/sql/ippool-dhcp/${dialect}/queries.conf
 }