aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-16 18:10:33 -0500
committersullrich <sullrich@pfsense.org>2009-12-16 18:10:43 -0500
commit23ad337b3cbed9ea173370cd411b9038d5a54cd0 (patch)
tree74021a1b92fb9b7b60224006999d48ece140bf3a
parente4904c7b87d91c5633ceeeec8aab5a14e55a6310 (diff)
downloadpfsense-packages-23ad337b3cbed9ea173370cd411b9038d5a54cd0.tar.gz
pfsense-packages-23ad337b3cbed9ea173370cd411b9038d5a54cd0.tar.bz2
pfsense-packages-23ad337b3cbed9ea173370cd411b9038d5a54cd0.zip
Allow startup when no remote syslog server is entered
-rw-r--r--config/haproxy/haproxy.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/config/haproxy/haproxy.inc b/config/haproxy/haproxy.inc
index 769f007f..6bb3242b 100644
--- a/config/haproxy/haproxy.inc
+++ b/config/haproxy/haproxy.inc
@@ -111,8 +111,6 @@ function haproxy_configure() {
fwrite ($fd, "\tmaxconn\t\t\t".$a_global['maxconn']."\n");
if($a_global['remotesyslog'])
fwrite ($fd, "\tlog\t\t\t{$a_global['remotesyslog']}\n");
- else
- fwrite ($fd, "\tlog\t\t\tglobal\n");
fwrite ($fd, "\tuid\t\t\t80\n");
fwrite ($fd, "\tgid\t\t\t80\n");
$numprocs = trim(`/sbin/sysctl kern.smp.cpus | cut -d" " -f2`);