You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.5 KiB

  1. Index: shorewall-core-5.1.7.2/lib.common
  2. ===================================================================
  3. --- shorewall-core-5.1.7.2.orig/lib.common 2017-10-11 08:01:06.191862789 +0200
  4. +++ shorewall-core-5.1.7.2/lib.common 2017-10-11 08:01:06.187863006 +0200
  5. @@ -345,7 +345,7 @@
  6. if [ -z "$MODULESDIR" ]; then
  7. uname=$(uname -r)
  8. - 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
  9. + 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
  10. if [ -n "$extras" ]; then
  11. for directory in $(split "$extras"); do
  12. MODULESDIR="$MODULESDIR:/lib/modules/$uname/$directory"
  13. @@ -399,7 +399,7 @@
  14. if [ -z "$MODULESDIR" ]; then
  15. uname=$(uname -r)
  16. - 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
  17. + 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
  18. if [ -n "$extras" ]; then
  19. for directory in $(split "$extras"); do
  20. MODULESDIR="$MODULESDIR:/lib/modules/$uname/$directory"