summaryrefslogtreecommitdiffstats
path: root/usr/local/www/pkg_mgr_install.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-24 23:09:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-24 23:09:08 +0000
commitf9124d31e81592bb6b1068feee25d3922ce2b540 (patch)
tree7c6d5c10b178a40207d62aad0e20436de6623b76 /usr/local/www/pkg_mgr_install.php
parentb7b2cca16d55e84b382ca322a2dc180ebf3d5b31 (diff)
downloadpfsense-f9124d31e81592bb6b1068feee25d3922ce2b540.zip
pfsense-f9124d31e81592bb6b1068feee25d3922ce2b540.tar.gz
Mount the image RW again after write_config() since it will set the image back to RO.
Diffstat (limited to 'usr/local/www/pkg_mgr_install.php')
-rwxr-xr-xusr/local/www/pkg_mgr_install.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/pkg_mgr_install.php b/usr/local/www/pkg_mgr_install.php
index 1ea2d19..eaac800 100755
--- a/usr/local/www/pkg_mgr_install.php
+++ b/usr/local/www/pkg_mgr_install.php
@@ -317,6 +317,8 @@ foreach ($packages_to_install as $id) {
update_output_window("Saving updated package information ...");
fwrite($fd_log, "Saving updated package information ...\n");
write_config("Installed package {$pkgent['name']}");
+ // remount rw after write_config() since it will mount ro.
+ conf_mount_rw();
}
update_progress_bar($pb_percent);
OpenPOWER on IntegriCloud