diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-20 20:13:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-20 20:13:41 +0000 |
commit | ec6879e3a855ff0e8f980cacbd9dbecb23b9d2af (patch) | |
tree | 0c0568c617695ecff1cfa60b63a060ed686dccaf /usr/local/www | |
parent | 3642babcf7cff48f7ea28fc324e2b8ca3a138622 (diff) | |
download | pfsense-ec6879e3a855ff0e8f980cacbd9dbecb23b9d2af.zip pfsense-ec6879e3a855ff0e8f980cacbd9dbecb23b9d2af.tar.gz |
Mount compact flash rw during package install
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/pkg_mgr_install.php | 4 | ||||
-rwxr-xr-x | usr/local/www/pkg_mgr_installed.php | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php index a2c2cea..900017a 100755 --- a/usr/local/www/pkg_mgr_install.php +++ b/usr/local/www/pkg_mgr_install.php @@ -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(); ?> diff --git a/usr/local/www/pkg_mgr_installed.php b/usr/local/www/pkg_mgr_installed.php index 016d69a..1b2d81f 100755 --- a/usr/local/www/pkg_mgr_installed.php +++ b/usr/local/www/pkg_mgr_installed.php @@ -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(); +?> |