packages/net/shorewall-lite/patches/110-MODULESDIR.patch
jow 79adecf11f shorewall-lite: update to 4.4.27.3
This patch updates shorewall-lite to stable release 4.4.27.3 and the lsm_script

Signed-off-by: Edy Corak info@loenshotel.de

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-06-18 23:49:27 +00:00

21 lines
1.3 KiB
Diff

--- 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 @@
[ -z "$MODULESDIR" ] && \
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/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
[ -d /sys/module/ ] || MODULES=$(lsmod | cut -d ' ' -f1)
@@ -367,7 +367,7 @@
[ -z "$MODULESDIR" ] && \
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/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
for directory in $(split $MODULESDIR); do
[ -d $directory ] && moduledirectories="$moduledirectories $directory"