summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www')
-rw-r--r--usr/local/www/index.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 57aee4a..9f4d454 100644
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -145,8 +145,14 @@ if (!is_array($config['widgets'])) {
if(file_exists('/conf/needs_package_sync')) {
if($config['installedpackages'] <> '' && is_array($config['installedpackages']['package'])) {
if($g['platform'] == "pfSense" || $g['platform'] == "nanobsd") {
- header('Location: pkg_mgr_install.php?mode=reinstallall');
- exit;
+ if (platform_booting()) {
+ ## User has logged into webGUI quickly while system is booting.
+ ## The package reinstall will be done by the boot script real soon now.
+ ## The code in fbegin.inc will put up the reinstalling notice.
+ } else {
+ header('Location: pkg_mgr_install.php?mode=reinstallall');
+ exit;
+ }
}
} else {
conf_mount_rw();
OpenPOWER on IntegriCloud