summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-12-11 22:31:18 +0000
committerErmal <eri@pfsense.org>2012-12-11 22:31:18 +0000
commitc06240dbd2673418945537c28b187a7a05be4310 (patch)
tree8b3eedbc25a4490e85bd75f8fe1e58644fb456a3
parentee79fcda34ce65d9a9e99c26983659a5bc115b75 (diff)
downloadpfsense-c06240dbd2673418945537c28b187a7a05be4310.zip
pfsense-c06240dbd2673418945537c28b187a7a05be4310.tar.gz
Add the new tunable in the GUI for custommization and its default value
-rw-r--r--conf.default/config.xml5
-rw-r--r--etc/inc/globals.inc3
2 files changed, 7 insertions, 1 deletions
diff --git a/conf.default/config.xml b/conf.default/config.xml
index 714e0f6..df266f0 100644
--- a/conf.default/config.xml
+++ b/conf.default/config.xml
@@ -6,6 +6,11 @@
<theme>pfsense_ng</theme>
<sysctl>
<item>
+ <descr><![CDATA[Enable mounting the FS read only with more checks.]]></descr>
+ <tunable>vfs.forcesync</tunable>
+ <value>default</value>
+ </item>
+ <item>
<descr><![CDATA[Disable the pf ftp proxy handler.]]></descr>
<tunable>debug.pfftpproxy</tunable>
<value>default</value>
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 74b2876..e27da62 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -145,7 +145,8 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024",
"vfs.read_max" => "32",
"kern.ipc.maxsockbuf" => "4262144",
"debug.pfftpproxy" => "0",
- "net.inet.ip.process_options" => 0
+ "net.inet.ip.process_options" => 0,
+ "vfs.forcesync" => 0
);
$config_parsed = false;
OpenPOWER on IntegriCloud