diff --git a/docs/configuration_file_basics.xml b/docs/configuration_file_basics.xml index 2ee4a70fd..71d953afa 100644 --- a/docs/configuration_file_basics.xml +++ b/docs/configuration_file_basics.xml @@ -800,6 +800,22 @@ SHELL cat /etc/shorewall/rules.d/*.rules 2> /dev/null || true +
+ CONFIG_PATH + + The CONFIG_PATH option in shorewall.conf determines where the + compiler searches for files. The default setting is + CONFIG_PATH=/etc/shorewall:/usr/share/shorewall which means that the + compiler first looks in /etc/shorewall and if it doesn't find the file, it + then looks in /usr/share/shorewall. + + You can change this setting to have the compiler look in different + places. For example, if you want to put your own versions of standard + macros in /etc/shorewall/Macros, then you could set + CONFIG_PATH=/etc/shorewall:/etc/shorewall/Macros:/usr/share/shorewall and + the compiler will use your versions rather than the standard ones. +
+
Using Shell Variables