Project

General

Profile

« Previous | Next » 

Revision 2344bed4

Added by Renato Botelho almost 10 years ago

Use product_name global variable in more places

View differences:

src/etc/rc.bootup
396 396
if (file_exists('/conf/needs_package_sync')) {
397 397
	if ($config['installedpackages'] <> '' && is_array($config['installedpackages']['package'])) {
398 398
		require_once("pkg-utils.inc");
399
		if ($g['platform'] == "pfSense" || $g['platform'] == "nanobsd") {
399
		if ($g['platform'] == $g['product_name'] || $g['platform'] == "nanobsd") {
400 400
			mark_subsystem_dirty('packagelock');
401 401
			pkg_reinstall_all();
402 402
			clear_subsystem_dirty('packagelock');

Also available in: Unified diff