diff options
-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(); +?> |