summaryrefslogtreecommitdiff
path: root/services/nft.in
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-07-23 20:20:27 +0200
committerDavid Oberhollenzer <david.oberhollenzer@tele2.at>2018-07-23 20:20:27 +0200
commite15208097cf3e97c8165536c2005e53961227621 (patch)
tree144b6fa9507d6f1abb7316911e665cc001929c7c /services/nft.in
parent95d8ddd7134e454feaee1d41623cc839eaede661 (diff)
Add nftables service
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
Diffstat (limited to 'services/nft.in')
-rw-r--r--services/nft.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/services/nft.in b/services/nft.in
new file mode 100644
index 0000000..21caab0
--- /dev/null
+++ b/services/nft.in
@@ -0,0 +1,7 @@
+description "restore netfilter rule set"
+type wait
+target boot
+after sysinit ifrename
+before network ifcfg
+
+exec nft -f "@ETCPATH@/nftables.rules"