mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Mount compact flash rw during package install
This commit is contained in:
parent
3642babcf7
commit
ec6879e3a8
@ -31,6 +31,8 @@
|
||||
require("guiconfig.inc");
|
||||
require("xmlparse_pkg.inc");
|
||||
|
||||
conf_mount_rw();
|
||||
|
||||
/* /usr/local/pkg/ is where xml package files are stored. */
|
||||
make_dirs("/usr/local/pkg");
|
||||
/* /usr/local/pkg/pf is where custom php hook packages live to alter the rules when needed */
|
||||
@ -471,6 +473,6 @@ echo "<p><center>Installation completed. Show <a href=\"pkg_mgr_install.php?sho
|
||||
echo "\n<script language=\"JavaScript\">document.progressbar.style.visibility='hidden';</script>";
|
||||
echo "\n<script language=\"JavaScript\">document.progholder.style.visibility='hidden';</script>";
|
||||
|
||||
|
||||
conf_mount_ro();
|
||||
|
||||
?>
|
||||
|
||||
@ -30,6 +30,8 @@
|
||||
require("guiconfig.inc");
|
||||
require("xmlparse_pkg.inc");
|
||||
|
||||
conf_mount_rw();
|
||||
|
||||
?>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
@ -115,6 +117,9 @@ include("fbegin.inc");
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<?php
|
||||
conf_mount_ro();
|
||||
?>
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user