Mount compact flash rw during package install

This commit is contained in:
Scott Ullrich 2005-03-20 20:13:41 +00:00
parent 3642babcf7
commit ec6879e3a8
2 changed files with 8 additions and 1 deletions

View File

@ -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();
?>

View File

@ -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();
?>