aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jim@pingle.org>2009-10-11 16:48:35 -0400
committerjim-p <jim@pingle.org>2009-10-11 16:58:32 -0400
commit20436603ea72400617866c354ecfe42b5cc43ab0 (patch)
tree8de0b71927c248d47820bb2cfc3d75801ee224cd
parent6baaa10c7e3713c9b2b8adaab9ee5446c75bb0c0 (diff)
downloadpfsense-packages-20436603ea72400617866c354ecfe42b5cc43ab0.tar.gz
pfsense-packages-20436603ea72400617866c354ecfe42b5cc43ab0.tar.bz2
pfsense-packages-20436603ea72400617866c354ecfe42b5cc43ab0.zip
Add rw/ro calls to frickin package to allow it to save. It works on nano now.
-rw-r--r--config/frickin/frickin.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/frickin/frickin.inc b/config/frickin/frickin.inc
index d8b430d0..762cc300 100644
--- a/config/frickin/frickin.inc
+++ b/config/frickin/frickin.inc
@@ -34,6 +34,7 @@ if(!function_exists("filter_configure"))
function frickin_custom_php_install_command() {
global $config;
+ conf_mount_rw();
if(file_exists("/tmp/frickin2")) {
exec("mv /tmp/frickin2 /usr/local/sbin/");
exec("chmod 0555 /usr/local/sbin/frickin2");
@@ -86,6 +87,7 @@ EOD;
// $config['system']['scrubnodf'] = "enabled";
// write_config();
+ conf_mount_ro();
filter_configure();
}