mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-03-11 21:05:21 +01:00
merged random hook with human-readable-message
This commit is contained in:
@@ -1106,7 +1106,7 @@ command_sign_domains() {
|
||||
|
||||
# Hook scripts should ignore any hooks they don't know.
|
||||
# Calling a random hook to make this clear to the hook script authors...
|
||||
[[ -n "${HOOK}" ]] && "${HOOK}" "$(openssl rand -base64 16)" "please ignore unknown hooks!!!"
|
||||
[[ -n "${HOOK}" ]] && "${HOOK}" "$(openssl rand -base64 16)_this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script"
|
||||
|
||||
# Call startup hook
|
||||
[[ -n "${HOOK}" ]] && "${HOOK}" "startup_hook"
|
||||
|
||||
Reference in New Issue
Block a user