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:31 -0300 |
commit | de331d8e90631240966a299bda9be9d40e4b658c (patch) | |
tree | b8125ec4430ba5bb17929096e65d996110e2e339 | |
parent | 0f2bafaba55ca4293a096045f151ea44d0479b77 (diff) | |
download | pfsense-de331d8e90631240966a299bda9be9d40e4b658c.zip pfsense-de331d8e90631240966a299bda9be9d40e4b658c.tar.gz |
Do not try to register pre-installed packages on read-only media
-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 */ |