packages/ipv6/shorewall6-lite/patches/110-MODULESDIR.patch
jow 23a3fbb01e [PATCH] Shorewall-lite and shorewall6-lite upgraded to 4.4
Upgrades shorewall to 4.4 and removes some packages useful only to shorewall 3.
Signed-off-by: Matthew King <matthew.king@monnsta.net>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@19191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-17 17:33:30 +00:00

21 lines
1.1 KiB
Diff

--- a/lib.base
+++ b/lib.base
@@ -260,7 +260,7 @@
[ -n "${MODULE_SUFFIX:=o gz ko o.gz ko.gz}" ]
- [ -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
+ [ -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)
MODULES=$(lsmod | cut -d ' ' -f1)
for directory in $(split $MODULESDIR); do
@@ -296,7 +296,7 @@
[ -n "${MODULE_SUFFIX:=o gz ko o.gz ko.gz}" ]
[ -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
+ 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)
for directory in $(split $MODULESDIR); do
[ -d $directory ] && moduledirectories="$moduledirectories $directory"