From: Glen Huang Date: Wed, 14 Dec 2022 13:16:57 +0000 (+0800) Subject: acme-acmesh: use $challenge_dir X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=c40d7c09b987092f546250e16fbe97d59b09f10b;p=openwrt-packages.git acme-acmesh: use $challenge_dir Signed-off-by: Glen Huang --- diff --git a/net/acme-acmesh/files/hook.sh b/net/acme-acmesh/files/hook.sh index 4df82643d..149a3e751 100644 --- a/net/acme-acmesh/files/hook.sh +++ b/net/acme-acmesh/files/hook.sh @@ -3,7 +3,7 @@ set -u ACME=/usr/lib/acme/client/acme.sh LOG_TAG=acme-acmesh # webroot option deprecated, use the hardcoded value directly in the next major version -WEBROOT=${webroot:-/var/run/acme/challenge} +WEBROOT=${webroot:-$challenge_dir} NOTIFY=/usr/lib/acme/notify # shellcheck source=net/acme/files/functions.sh