diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-06-04 09:02:55 +0100 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-06-04 09:02:55 +0100 |
| commit | c8fb291bd9d6dea1609eaefca3f2e1899f138727 (patch) | |
| tree | a2af21b506ea50fdc72683b44f86fc660c682ffd /init.sh | |
| parent | 32e91c13a7eaeb42cd1250de5e60bd400c60e4be (diff) | |
| download | lfacme-c8fb291bd9d6dea1609eaefca3f2e1899f138727.tar.gz lfacme-c8fb291bd9d6dea1609eaefca3f2e1899f138727.tar.bz2 | |
init.sh: fix _findhook
Diffstat (limited to 'init.sh')
| -rw-r--r-- | init.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -73,7 +73,7 @@ if [ -z "$ACME_KERBEROS_PRINCIPAL" ]; then fi if [ -z "$ACME_HOOKDIR" ]; then - ACME_HOOKDIR="${ACME_CONFDIR}/hooks" + ACME_HOOKDIR="${_CONFDIR}/hooks" fi # The domains.conf file. @@ -129,7 +129,8 @@ _findchallenge() { # Find a hook script and make sure it's valid. If the hook name begins with a # '/' it's a full path, otherwise it's relative to ACME_HOOKDIR. _findhook() { - hook="$1" + local identifier="$1" + local hook="$2" if [ "${hook#/*}" = "$hook" ]; then hook="${ACME_HOOKDIR}/$hook" |
