aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-08-25 09:05:15 +0200
committerdoktornotor <notordoktor@gmail.com>2015-08-25 09:05:15 +0200
commit4537c6efdf7e68e8ddb46ef8d4c5f9a472aff122 (patch)
tree2fd6cee34f850392946e60028659d7daf6737c76
parent8923190902c9086c8ebcd56b0a9c136371eb1b44 (diff)
downloadpfsense-packages-4537c6efdf7e68e8ddb46ef8d4c5f9a472aff122.tar.gz
pfsense-packages-4537c6efdf7e68e8ddb46ef8d4c5f9a472aff122.tar.bz2
pfsense-packages-4537c6efdf7e68e8ddb46ef8d4c5f9a472aff122.zip
Remove useless remount calls
These are dealt with by install_package() from pkg-utils.inc.
-rw-r--r--config/haproxy-legacy/haproxy.inc2
1 files changed, 0 insertions, 2 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");
}