[package] shorewall6-lite: update to 4.4.22.2
[openwrt/svn-archive/archive.git] / ipv6 / shorewall6-lite / patches / 110-MODULESDIR.patch
1 --- a/lib.common
2 +++ b/lib.common
3 @@ -292,7 +292,7 @@
4
5 [ -n "${MODULE_SUFFIX:=o gz ko o.gz ko.gz}" ]
6
7 - [ -z "$MODULESDIR" ] && MODULESDIR=/lib/modules/$(uname -r)/kernel/net/ipv6/netfilter:/lib/modules/$(uname -r)/kernel/net/netfilter:/lib/modules/$(uname -r)/kernel/net/sched
8 + [ -z "$MODULESDIR" ] && MODULESDIR=/lib/modules/$(uname -r)/kernel/net/ipv6/netfilter:/lib/modules/$(uname -r)/kernel/net/netfilter:/lib/modules/$(uname -r)/kernel/net/sched:/lib/modules/$(uname -r)
9 MODULES=$(lsmod | cut -d ' ' -f1)
10
11 for directory in $(split $MODULESDIR); do
12 @@ -328,7 +328,7 @@
13 [ -n "${MODULE_SUFFIX:=o gz ko o.gz ko.gz}" ]
14
15 [ -z "$MODULESDIR" ] && \
16 - MODULESDIR=/lib/modules/$(uname -r)/kernel/net/ipv6/netfilter:/lib/modules/$(uname -r)/kernel/net/netfilter:/lib/modules/$(uname -r)/kernel/net/sched
17 + MODULESDIR=/lib/modules/$(uname -r)/kernel/net/ipv6/netfilter:/lib/modules/$(uname -r)/kernel/net/netfilter:/lib/modules/$(uname -r)/kernel/net/sched:/lib/modules/$(uname -r)
18
19 for directory in $(split $MODULESDIR); do
20 [ -d $directory ] && moduledirectories="$moduledirectories $directory"