diff options
author | Renato Botelho <garga@FreeBSD.org> | 2014-06-27 11:54:05 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2014-06-27 11:56:08 -0300 |
commit | 0ffc4a7bc1c85db3f450aba1c12ed808a94411bc (patch) | |
tree | b01ff98b19cfc093f5a99ac69d13d5baa94fa30e /etc/rc | |
parent | 485cc43686c6c048346cc2fa04c7da38b6321906 (diff) | |
download | pfsense-0ffc4a7bc1c85db3f450aba1c12ed808a94411bc.zip pfsense-0ffc4a7bc1c85db3f450aba1c12ed808a94411bc.tar.gz |
Add a BETA key for PBI signature check, this will be replaced by the final one before RELEASE. Ticket #3365
Diffstat (limited to 'etc/rc')
-rwxr-xr-x | etc/rc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -201,6 +201,14 @@ else fi fi +# Copy PBI keys +if ls /usr/local/share/pbi-keys/*.ssl >/dev/null 2>&1; then + if [ ! -d "/var/db/pbi/keys" ]; then + mkdir -p /var/db/pbi/keys + fi + cp -f /usr/local/share/pbi-keys/*.ssl /var/db/pbi/keys +fi + if [ "$PLATFORM" = "cdrom" ] ; then echo -n "Mounting unionfs directories..." /bin/mkdir /tmp/unionfs |