summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--files/nftables/Makefile.am3
-rwxr-xr-xfiles/nftables/netdev-ingress.nft (renamed from files/examples/netdev-ingress.nft)2
2 files changed, 3 insertions, 2 deletions
diff --git a/files/nftables/Makefile.am b/files/nftables/Makefile.am
index f18156d8..a93b7978 100644
--- a/files/nftables/Makefile.am
+++ b/files/nftables/Makefile.am
@@ -10,7 +10,8 @@ dist_pkgsysconf_DATA = all-in-one.nft \
ipv6-filter.nft \
ipv6-mangle.nft \
ipv6-nat.nft \
- ipv6-raw.nft
+ ipv6-raw.nft \
+ netdev-ingress.nft
install-data-hook:
${SED} -i 's|@sbindir[@]|${sbindir}/|g' ${DESTDIR}${pkgsysconfdir}/*.nft
diff --git a/files/examples/netdev-ingress.nft b/files/nftables/netdev-ingress.nft
index 2585d154..9e46b15a 100755
--- a/files/examples/netdev-ingress.nft
+++ b/files/nftables/netdev-ingress.nft
@@ -1,4 +1,4 @@
-#!/usr/sbin/nft -f
+#!@sbindir@nft -f
# mind the NIC, it must exists
table netdev filter {