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:13 -0300 |
commit | 7b3b231488802041f82d8e85aee5f4da32d6e447 (patch) | |
tree | c458086eaecc01b4cb0aeee5faf91792ac0cc8d1 /src | |
parent | b74f5074d125d8600d7f1bba541044c6b63ab4de (diff) | |
download | pfsense-7b3b231488802041f82d8e85aee5f4da32d6e447.zip pfsense-7b3b231488802041f82d8e85aee5f4da32d6e447.tar.gz |
Do not try to register pre-installed packages on read-only media
Diffstat (limited to 'src')
-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 */ |