feat: cada red tiene sus propios hooks
This commit is contained in:
parent
29b552dfd4
commit
7d58beca63
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user