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

6 lines
156 B
Plaintext
Raw Normal View History

2017-06-13 13:36:25 +00:00
#!/usr/bin/with-contenv sh
2017-09-06 08:46:01 +00:00
if [ ! -f /etc/proftpd/keys/dhparams.pem ]; then
openssl dhparam -outform PEM -5 nbits >> /etc/proftpd/keys/dhparams.pem
2017-06-13 13:36:25 +00:00
fi