openssl: fix issues with port version not finding config

Really don't want to ship this file locally so that others
might be encouraged to edit it (again).
This commit is contained in:
Franco Fichtner 2015-01-25 15:09:26 +01:00
parent ab28de2e19
commit 9af57742fd

View File

@ -138,7 +138,14 @@ if [ ! -f /conf/config.xml ]; then
/bin/mkdir -p /conf/backup
/bin/mkdir -p /conf/sshd
/bin/cp /usr/local/etc/config.xml /conf/config.xml
echo " done."
echo "done."
fi
# Bootstrap openssl.cnf for port if necessary
if [ ! -f /usr/local/openssl/openssl.cnf ]; then
echo -n "Bootstrapping openssl.cnf..."
/bin/cp /etc/ssl/openssl.cnf /usr/local/openssl/openssl.cnf
echo "done."
fi
# Disable APM on ATA drives. Leaving this on will kill drives long-term, especially laptop drives, by generating excessive Load Cycles.