diff options
author | Renato Botelho <renato@netgate.com> | 2016-04-07 16:20:13 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-04-07 16:20:26 -0300 |
commit | 83a8d6f0170e3e88a8a463732cbb751ce81e446e (patch) | |
tree | c4c6f3b2aec05734664c5b13ec71ff0a8be3c36b /src/etc | |
parent | ac0c3db7e19f2f0895e0dd9c42baaafe5a719a2c (diff) | |
download | pfsense-83a8d6f0170e3e88a8a463732cbb751ce81e446e.zip pfsense-83a8d6f0170e3e88a8a463732cbb751ce81e446e.tar.gz |
Do not try to register pre-installed packages on read-only media
Diffstat (limited to 'src/etc')
-rwxr-xr-x | src/etc/rc.bootup | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/etc/rc.bootup b/src/etc/rc.bootup index 5c8b613..5ddc69d 100755 --- a/src/etc/rc.bootup +++ b/src/etc/rc.bootup @@ -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 */ |