[net-firewall/iptables] import of iptables scm junk, needs cleanup

This commit is contained in:
2014-11-01 11:33:56 +01:00
parent 338a8527b7
commit ca4f63d31c
12 changed files with 426 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Store iptables firewall rules
Before=shutdown.target
DefaultDependencies=No
[Service]
Type=oneshot
ExecStart=/bin/sh -c "/sbin/iptables-save --counters > /var/lib/iptables/rules-save"
[Install]
WantedBy=shutdown.target