From 9af57742fd9137fa379204f05b697123a2a19145 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Sun, 25 Jan 2015 15:09:26 +0100 Subject: [PATCH] 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). --- src/etc/rc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/etc/rc b/src/etc/rc index 633d6b4d0..ab7815b48 100755 --- a/src/etc/rc +++ b/src/etc/rc @@ -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.