diff --git a/Shorewall/lib.base b/Shorewall/lib.base index 02ce18c40..ce2957db9 100644 --- a/Shorewall/lib.base +++ b/Shorewall/lib.base @@ -267,6 +267,7 @@ load_kernel_modules() MODULES=$(lsmod | cut -d ' ' -f1) progress_message "Loading Modules..." . $modules + [ -d ${VARDIR} ] || mkdir -p ${VARDIR} echo MODULESDIR="$MODULESDIR" > ${VARDIR}/.modulesdir cp -f $modules ${VARDIR}/.modules else