|
Index: shorewall-core-5.2.4/lib.common
|
|
===================================================================
|
|
--- shorewall-core-5.2.4.orig/lib.common 2020-03-25 22:16:13.640263032 +0100
|
|
+++ shorewall-core-5.2.4/lib.common 2020-03-25 22:16:13.640263032 +0100
|
|
@@ -347,7 +347,7 @@
|
|
|
|
if [ -z "$MODULESDIR" ]; then
|
|
uname=$(uname -r)
|
|
- MODULESDIR=/lib/modules/$uname/kernel/net/ipv${g_family}/netfilter:/lib/modules/$uname/kernel/net/netfilter:/lib/modules/$uname/kernel/net/sched:/lib/modules/$uname/extra:/lib/modules/$uname/extra/ipset
|
|
+ MODULESDIR=/lib/modules/$uname:/lib/modules/$uname/kernel/net/ipv${g_family}/netfilter:/lib/modules/$uname/kernel/net/netfilter:/lib/modules/$uname/kernel/net/sched:/lib/modules/$uname/extra:/lib/modules/$uname/extra/ipset
|
|
if [ -n "$extras" ]; then
|
|
for directory in $(split "$extras"); do
|
|
MODULESDIR="$MODULESDIR:/lib/modules/$uname/$directory"
|
|
@@ -401,7 +401,7 @@
|
|
|
|
if [ -z "$MODULESDIR" ]; then
|
|
uname=$(uname -r)
|
|
- MODULESDIR=/lib/modules/$uname/kernel/net/ipv${g_family}/netfilter:/lib/modules/$uname/kernel/net/netfilter:/lib/modules/$uname/kernel/net/sched:/lib/modules/$uname/extra:/lib/modules/$uname/extra/ipset
|
|
+ MODULESDIR=/lib/modules/$uname:/lib/modules/$uname/kernel/net/ipv${g_family}/netfilter:/lib/modules/$uname/kernel/net/netfilter:/lib/modules/$uname/kernel/net/sched:/lib/modules/$uname/extra:/lib/modules/$uname/extra/ipset
|
|
if [ -n "$extras" ]; then
|
|
for directory in $(split "$extras"); do
|
|
MODULESDIR="$MODULESDIR:/lib/modules/$uname/$directory"
|