From 670ecb203b96f084891fc86a82340cee8d093eb7 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 8 Dec 2013 14:12:08 -0800 Subject: [PATCH] Document postcompile Signed-off-by: Tom Eastep --- docs/shorewall_extension_scripts.xml | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/docs/shorewall_extension_scripts.xml b/docs/shorewall_extension_scripts.xml index c4d9e4fc7..2aa6c6b54 100644 --- a/docs/shorewall_extension_scripts.xml +++ b/docs/shorewall_extension_scripts.xml @@ -220,6 +220,13 @@ esac #! /bin/sh cat - + + + postcompile -- Added in Shorewall 4.5.8. + This shell script is invoked by + /sbin/shorewall after a script has been compiled. $1 is the + path name of the compiled script. + If your version of Shorewall doesn't have the @@ -284,6 +291,13 @@ cat - check, compile, export, refresh, restart, start + + postcompile + + compile, export, load, refresh, reload, restart, restore, + start + + refresh @@ -498,7 +512,7 @@ cat - - + postcompile started @@ -548,10 +562,11 @@ cat - - Compile-time extension scripts are executed using the Perl 'eval - `cat <file>`' mechanism. Be sure that each - script returns a 'true' value; otherwise, the compiler will assume that - the script failed and will abort the compilation. + With the exception of postcompile, compile-time extension scripts + are executed using the Perl 'eval `cat + <file>`' mechanism. Be sure that each script + returns a 'true' value; otherwise, the compiler will assume that the + script failed and will abort the compilation. Each compile-time script is implicitly prefaced with: