diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc index 531df4c716..937988578a 100755 --- a/usr/local/www/fbegin.inc +++ b/usr/local/www/fbegin.inc @@ -433,9 +433,14 @@ echo get_shortcut_log_link($shortcut_section, true); Do not make changes in the GUI until this is complete.") . "

firmware update"); +if (is_subsystem_dirty('packagelock') || (file_exists('/conf/needs_package_sync') && platform_booting())) { + if (file_exists('/conf/needs_package_sync') && platform_booting()) { + $info_text = sprintf(gettext("%s is booting then packages will be reinstalled in the background.

Do not make changes in the GUI until this is complete."), $g['product_name']); + } else { + $pgtitle = array(gettext("System"),gettext("Package Manager")); + $info_text = gettext("Packages are currently being reinstalled in the background.

Do not make changes in the GUI until this is complete."); + } + print_info_box($info_text . "

firmware update"); } $pgtitle_output = true; ?>