aboutsummaryrefslogtreecommitdiff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/Makemodule.am2
-rw-r--r--services/nft.in7
2 files changed, 8 insertions, 1 deletions
diff --git a/services/Makemodule.am b/services/Makemodule.am
index 3625715..ab79414 100644
--- a/services/Makemodule.am
+++ b/services/Makemodule.am
@@ -8,7 +8,7 @@ init_DATA += services/vfs services/ifrename services/ifcfg
init_DATA += services/dhcpcd services/dhcpcdmaster services/unbound
init_DATA += services/dnsmasq services/ifdown services/modules
init_DATA += services/network services/hostapd services/swclock
-init_DATA += services/swclocksave
+init_DATA += services/swclocksave services/nft
if USYSLOGD
init_DATA += services/usyslogd
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"