feat: cada red tiene sus propios hooks

This commit is contained in:
fauno 2024-09-03 15:17:07 -03:00
parent 29b552dfd4
commit 7d58beca63
2 changed files with 2 additions and 2 deletions

View File

@ -145,8 +145,8 @@ if $root ; then
fi
run_post_script(){
if test -x "${RAP_EXEC_HOOKDIR}/post-${RAP_COMMAND}" ; then
if test -x "${RAP_EXEC_HOOKDIR}/${NETWORK}/post-${RAP_COMMAND}" ; then
msg "Ejecutando post comandos:"
exec ${RAP_EXEC_HOOKDIR}/post-${RAP_COMMAND}
exec ${RAP_EXEC_HOOKDIR}/${NETWORK}/post-${RAP_COMMAND}
fi
}