2012-06-18 23:49:27 +00:00
|
|
|
--- a/lib.common 2012-01-21 14:21:50.000000000 +0100
|
|
|
|
+++ b/lib.common 2012-06-03 11:52:35.115967105 +0200
|
|
|
|
@@ -328,7 +328,7 @@
|
2008-02-02 18:12:21 +00:00
|
|
|
|
2009-12-11 02:09:19 +00:00
|
|
|
[ -z "$MODULESDIR" ] && \
|
|
|
|
uname=$(uname -r) && \
|
2012-06-18 23:49:27 +00:00
|
|
|
- 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/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:/lib/modules/$uname
|
2008-02-02 18:12:21 +00:00
|
|
|
|
2012-06-18 23:49:27 +00:00
|
|
|
[ -d /sys/module/ ] || MODULES=$(lsmod | cut -d ' ' -f1)
|
2008-02-02 18:12:21 +00:00
|
|
|
|
2012-06-18 23:49:27 +00:00
|
|
|
@@ -367,7 +367,7 @@
|
2008-02-02 18:12:21 +00:00
|
|
|
|
|
|
|
[ -z "$MODULESDIR" ] && \
|
2009-12-11 02:09:19 +00:00
|
|
|
uname=$(uname -r) && \
|
2012-06-18 23:49:27 +00:00
|
|
|
- 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/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:/lib/modules/$uname
|
2008-02-02 18:12:21 +00:00
|
|
|
|
|
|
|
for directory in $(split $MODULESDIR); do
|
|
|
|
[ -d $directory ] && moduledirectories="$moduledirectories $directory"
|