Project

General

Profile

« Previous | Next » 

Revision 25d3c68f

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
				header('Location: pkg_mgr_install.php?mode=reinstallall');
149
				exit;
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 {
153
					header('Location: pkg_mgr_install.php?mode=reinstallall');
154
					exit;
155
				}
150 156
			}
151 157
		} else {
152 158
			conf_mount_rw();

Also available in: Unified diff