user-access/rootfs/etc/cont-init.d/02-dhparam

6 lines
162 B
Plaintext
Raw Normal View History

2017-06-13 13:36:25 +00:00
#!/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