Commit 1656a720 authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Backup ssl.pem file if it is present.

parent 0ab5bcb2
......@@ -272,8 +272,8 @@ fi
#
# Rename ssl.pem to ssl.crt, and link it back.
#
if [ -e /etc/ssl/ssl.pem ] ; then
mv /etc/ssl/ssl.pem /etc/ssl/ssl.crt
if [ -f /etc/ssl/ssl.pem ] ; then
mv -b /etc/ssl/ssl.pem /etc/ssl/ssl.crt
ln -s /etc/ssl/ssl.crt /etc/ssl/ssl.pem
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment