From c8e185554f1adae846667fb482cba0aa81fdb1e7 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 13 Dec 2009 09:19:52 -0800 Subject: [PATCH] Fix typo in MODULESDIR fix --- Shorewall/lib.base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall/lib.base b/Shorewall/lib.base index 31a4de796..80e54b1cf 100644 --- a/Shorewall/lib.base +++ b/Shorewall/lib.base @@ -220,7 +220,7 @@ reload_kernel_modules() { [ -z "$MODULESDIR" ] && \ uname=$(uname -r) && \ - MODULESDIR=/lib/modules/$uname/kernel/net/ipv4/netfilter:/lib/modules/$uname/kernel/net/netfilterr:/lib/modules/$uname/kernel/net/sched:/lib/modules/$uname/extra:/lib/modules/$uname/extra/ipset + MODULESDIR=/lib/modules/$uname/kernel/net/ipv4/netfilter:/lib/modules/$uname/kernel/net/netfilter:/lib/modules/$uname/kernel/net/sched:/lib/modules/$uname/extra:/lib/modules/$uname/extra/ipset MODULES=$(lsmod | cut -d ' ' -f1) @@ -259,7 +259,7 @@ load_kernel_modules() # $1 = Yes, if we are to save moduleinfo in $VARDIR [ -z "$MODULESDIR" ] && \ uname=$(uname -r) && \ - MODULESDIR=/lib/modules/$uname/kernel/net/ipv4/netfilter:/lib/modules/$uname/kernel/net/netfilterr:/lib/modules/$uname/kernel/net/sched:/lib/modules/$uname/extra:/lib/modules/$uname/extra/ipset + MODULESDIR=/lib/modules/$uname/kernel/net/ipv4/netfilter:/lib/modules/$uname/kernel/net/netfilter:/lib/modules/$uname/kernel/net/sched:/lib/modules/$uname/extra:/lib/modules/$uname/extra/ipset for directory in $(split $MODULESDIR); do [ -d $directory ] && moduledirectories="$moduledirectories $directory"