aboutsummaryrefslogtreecommitdiffstats
path: root/config/haproxy-legacy
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-08-28 09:01:07 -0300
committerRenato Botelho <renato@netgate.com>2015-08-28 09:01:07 -0300
commit3977f59b180791156208cd6865eef5cae734f044 (patch)
tree85076ce952355cf3894a5b3f52726439445f0656 /config/haproxy-legacy
parent66dad7feacac607560844228c0cd58537bc1a994 (diff)
parent3bdbee31d112b473ce66bcd321cdcd706dc17131 (diff)
downloadpfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.gz
pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.tar.bz2
pfsense-packages-3977f59b180791156208cd6865eef5cae734f044.zip
Merge pull request #1024 from doktornotor/patch-4
Diffstat (limited to 'config/haproxy-legacy')
-rw-r--r--config/haproxy-legacy/haproxy.inc2
-rw-r--r--config/haproxy-legacy/haproxy.xml3
2 files changed, 1 insertions, 4 deletions
diff --git a/config/haproxy-legacy/haproxy.inc b/config/haproxy-legacy/haproxy.inc
index 9058b4a6..55b86882 100644
--- a/config/haproxy-legacy/haproxy.inc
+++ b/config/haproxy-legacy/haproxy.inc
@@ -69,7 +69,6 @@ function migrate_old_sync_config(){
}
function haproxy_custom_php_install_command() {
global $g, $config;
- conf_mount_rw();
$haproxy = <<<EOD
#!/bin/sh
@@ -118,7 +117,6 @@ EOD;
fclose($fd);
exec("chmod a+rx /usr/local/etc/rc.d/haproxy.sh");
migrate_old_sync_config();
- conf_mount_ro();
exec("/usr/local/etc/rc.d/haproxy.sh start");
}
diff --git a/config/haproxy-legacy/haproxy.xml b/config/haproxy-legacy/haproxy.xml
index 8892c77c..99345ac5 100644
--- a/config/haproxy-legacy/haproxy.xml
+++ b/config/haproxy-legacy/haproxy.xml
@@ -109,7 +109,6 @@
/*
included in package install
$freebsdv=trim(`uname -r | cut -d'.' -f1`);
- conf_mount_rw();
`fetch -q -o /usr/local/sbin/ https://packages.pfsense.org/packages/config/haproxy-legacy/binaries{$freebsdv}/haproxy`;
exec("chmod a+rx /usr/local/sbin/haproxy");
*/
@@ -120,4 +119,4 @@
</custom_php_deinstall_command>
<custom_php_command_before_form>
</custom_php_command_before_form>
-</packagegui> \ No newline at end of file
+</packagegui>