mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not try to register pre-installed packages on read-only media
This commit is contained in:
parent
ac0c3db7e1
commit
83a8d6f017
@ -419,7 +419,9 @@ if (file_exists('/conf/needs_package_sync') &&
|
||||
}
|
||||
|
||||
/* Detect installed binary pkgs that are not registered in the system */
|
||||
register_all_installed_packages();
|
||||
if ($g['platform'] != "cdrom") {
|
||||
register_all_installed_packages();
|
||||
}
|
||||
|
||||
/* Give syslogd a kick after everything else has been initialized, otherwise it can occasionally
|
||||
fail to route syslog messages properly on both IPv4 and IPv6 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user