From ec6879e3a855ff0e8f980cacbd9dbecb23b9d2af Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 20 Mar 2005 20:13:41 +0000 Subject: Mount compact flash rw during package install --- usr/local/www/pkg_mgr_install.php | 4 +++- usr/local/www/pkg_mgr_installed.php | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'usr') 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 "

Installation completed. Show document.progressbar.style.visibility='hidden';"; echo "\n"; - +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(); + ?> @@ -115,6 +117,9 @@ include("fbegin.inc"); + -- cgit v1.1