From 1392919b64aa16c630f9e1b6003dd1a95446e5ab Mon Sep 17 00:00:00 2001 From: teastep Date: Sun, 10 Dec 2006 04:24:53 +0000 Subject: [PATCH] Move reading of params file -- Take 2 git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@5080 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall/lib.config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Shorewall/lib.config b/Shorewall/lib.config index 9dc892fc3..dfe2f83be 100644 --- a/Shorewall/lib.config +++ b/Shorewall/lib.config @@ -1882,6 +1882,8 @@ do_initialize() { [ -n "${MODULE_SUFFIX:=o gz ko o.gz ko.gz}" ] + [ -n "$SHOREWALL_DIR" ] && CONFIG_PATH=$SHOREWALL_DIR:$CONFIG_PATH + if [ -z "$EXPORT" -a "$(whoami)" = root ]; then load_kernel_modules