summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-06-27 11:54:05 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-06-27 11:56:08 -0300
commit0ffc4a7bc1c85db3f450aba1c12ed808a94411bc (patch)
treeb01ff98b19cfc093f5a99ac69d13d5baa94fa30e /etc
parent485cc43686c6c048346cc2fa04c7da38b6321906 (diff)
downloadpfsense-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')
-rwxr-xr-xetc/rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/rc b/etc/rc
index de69ff8..cc1913b 100755
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud