summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-06-25 14:28:52 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-06-25 14:28:52 -0400
commit6e2365bbbdf4e4bc63c664dd09bc48b039bd5ed8 (patch)
treedaeac2a2df313fcdb71a8282134ebb82b1cd87d9 /etc/inc
parentb856cf90a5fadeba42a2c75f6fb39fd078d1cbc5 (diff)
downloadpfsense-6e2365bbbdf4e4bc63c664dd09bc48b039bd5ed8.zip
pfsense-6e2365bbbdf4e4bc63c664dd09bc48b039bd5ed8.tar.gz
Add missing conf_mount_ro();
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/pkg-utils.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/pkg-utils.inc b/etc/inc/pkg-utils.inc
index 5116ec5..3a79fb5 100644
--- a/etc/inc/pkg-utils.inc
+++ b/etc/inc/pkg-utils.inc
@@ -46,7 +46,8 @@ if($g['platform'] == "pfSense") {
} else {
conf_mount_rw();
safe_mkdir("/usr/local/pkg");
- safe_mkdir("/usr/local/pkg/pf");
+ safe_mkdir("/usr/local/pkg/pf");
+ conf_mount_ro();
}
$version = split("-", trim(file_get_contents("/etc/version")));
OpenPOWER on IntegriCloud