diff --git a/Shorewall-lite/manpages/shorewall-lite.xml b/Shorewall-lite/manpages/shorewall-lite.xml
index ed30bbfc5..5af5b62b7 100644
--- a/Shorewall-lite/manpages/shorewall-lite.xml
+++ b/Shorewall-lite/manpages/shorewall-lite.xml
@@ -846,6 +846,11 @@
script passing the supplied parameters.
Normally, the command will be a function
declared in lib.private.
+
+ Before executing the command, the
+ script will detect the configuration, setting all SW_* variables and
+ will run your init extension script with
+ $COMMAND = 'run'.
diff --git a/Shorewall/Perl/prog.footer b/Shorewall/Perl/prog.footer
index d24ed7cca..b27938cc5 100644
--- a/Shorewall/Perl/prog.footer
+++ b/Shorewall/Perl/prog.footer
@@ -376,6 +376,7 @@ case "$COMMAND" in
if [ $# -gt 1 ]; then
shift
detect_configuration
+ run_init_exit
eval $@
status=$?
else
diff --git a/Shorewall/manpages/shorewall.xml b/Shorewall/manpages/shorewall.xml
index ae64461a0..e897e812f 100644
--- a/Shorewall/manpages/shorewall.xml
+++ b/Shorewall/manpages/shorewall.xml
@@ -1434,6 +1434,11 @@
Normally, the command will be a function
declared in lib.private.
+ Before executing the command, the
+ script will detect the configuration, setting all SW_* variables and
+ will run your init extension script with
+ $COMMAND = 'run'.
+
If there are files in the CONFIG_PATH that were modified after
the current firewall script was generated, the following warning
message is issued:
diff --git a/Shorewall6-lite/manpages/shorewall6-lite.xml b/Shorewall6-lite/manpages/shorewall6-lite.xml
index 20dcfeba8..a12b4c953 100644
--- a/Shorewall6-lite/manpages/shorewall6-lite.xml
+++ b/Shorewall6-lite/manpages/shorewall6-lite.xml
@@ -844,6 +844,11 @@
script passing the supplied parameters.
Normally, the command will be a function
declared in lib.private.
+
+ Before executing the command, the script will detect the
+ configuration, setting all SW_* variables and will run your
+ init extension script with $COMMAND =
+ 'run'.
diff --git a/Shorewall6/manpages/shorewall6.xml b/Shorewall6/manpages/shorewall6.xml
index 2645b6630..eb2371b93 100644
--- a/Shorewall6/manpages/shorewall6.xml
+++ b/Shorewall6/manpages/shorewall6.xml
@@ -1315,6 +1315,11 @@
Normally, the command will be a function
declared in lib.private.
+ Before executing the command, the
+ script will detect the configuration, setting all SW_* variables and
+ will run your init extension script with
+ $COMMAND = 'run'.
+
If there are files in the CONFIG_PATH that were modified after
the current firewall script was generated, the following warning
message is issued before the script's run command is