Project

General

Profile

« Previous | Next » 

Revision 1a2ea2cc

Added by Phil Davis over 10 years ago

Display better message when booting and awaiting package reinstall

View differences:

usr/local/www/index.php
145 145
	if(file_exists('/conf/needs_package_sync')) {
146 146
		if($config['installedpackages'] <> '' && is_array($config['installedpackages']['package'])) {
147 147
			if($g['platform'] == "pfSense" || $g['platform'] == "nanobsd") {
148
				if (platform_booting()) {
149
					## User has logged into webGUI quickly while system is booting.
150
					## The package reinstall will be done by the boot script real soon now.
151
					## The code in fbegin.inc will put up the reinstalling notice.
152
				} else {
148
				## If the user has logged into webGUI quickly while the system is booting then do not redirect them to
149
				## the package reinstall page. That is about to be done by the boot script anyway.
150
				## The code in fbegin.inc will put up a notice to the user.
151
				if (!platform_booting()) {
153 152
					header('Location: pkg_mgr_install.php?mode=reinstallall');
154 153
					exit;
155 154
				}

Also available in: Unified diff