mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-12 05:39:22 +02:00
#2247 quick fix for the letsencrypt=on
This commit is contained in:
parent
236fc76e92
commit
6b5efb8e40
@ -322,12 +322,6 @@ elif [ "$1" = "issue-cert" ]; then
|
||||
|
||||
elif [ "$1" = "remove-cert" ]; then
|
||||
|
||||
# check if letsencrypt is on
|
||||
if [ "${letsencrypt}" != "on" ]; then
|
||||
echo "error='letsencrypt is not on'"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# make sure storage directory exist
|
||||
sudo mkdir -p $ACME_CERT_HOME 2>/dev/null
|
||||
sudo chown -R admin:admin $ACME_CONFIG_HOME
|
||||
|
Loading…
x
Reference in New Issue
Block a user