Corrected if

This commit is contained in:
jacob.eva 2023-09-21 19:52:06 +01:00
parent ab017a31f9
commit 0ed96b2b7f
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -523,6 +523,7 @@ CREATE TABLE mqtt_pub (
) ENGINE=InnoDB CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;""" | mariadb -D $sqldb
if [ ! -f /etc/ssl/dh2048.pem ]
then
echo "Generating dhfile..."
openssl dhparam -out /etc/ssl/dh2048.pem 2048
fi