Project

General

Profile

« Previous | Next » 

Revision 261c7de8

Added by Jim Pingle over 14 years ago

Warn users a different way if packages are being reinstalled in the background. Only lock out package pages, still print a giant warning on the others. (Some people were getting stuck in this state http://forum.pfsense.org/index.php/topic,32531.0.html )

View differences:

etc/rc.bootup
385 385
	if($config['installedpackages'] <> '' && is_array($config['installedpackages']['package'])) {
386 386
		require_once("pkg-utils.inc");
387 387
		if($g['platform'] == "pfSense" || $g['platform'] == "nanobsd") {
388
			mark_subsystem_dirty('firmwarelock');
388
			mark_subsystem_dirty('packagelock');
389 389
			pkg_reinstall_all();
390
			clear_subsystem_dirty('firmwarelock');
390
			clear_subsystem_dirty('packagelock');
391 391
		}
392 392
	}
393 393
}

Also available in: Unified diff