user-access/rootfs/etc/cont-init.d/02-dhparam
2017-06-13 15:37:47 +02:00

6 lines
162 B
Plaintext

#!/usr/bin/with-contenv sh
if [ ! -f /var/lib/proftp/keys/dhparams.pem ]; then
openssl dhparam -outform PEM -5 nbits >> /var/lib/proftp/keys/dhparams.pem
fi