]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
removed random prefix from hook bricker
authorLukas Schauer <lukas@schauer.so>
Wed, 14 Feb 2018 13:58:11 +0000 (14:58 +0100)
committerLukas Schauer <lukas@schauer.so>
Wed, 14 Feb 2018 13:58:11 +0000 (14:58 +0100)
dehydrated

index 3e87609b9370a2b8affa3daa870faf76e401bdd4..829cd2520e389fa23af0e930d243d6b111cae264 100755 (executable)
@@ -83,7 +83,7 @@ reset_configvars() {
 hookscript_bricker_hook() {
   # 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)_this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script"
+  [[ -n "${HOOK}" ]] && "${HOOK}" "this_hookscript_is_broken__dehydrated_is_working_fine__please_ignore_unknown_hooks_in_your_script"
 }
 
 # verify configuration values