iptables: use upstream writers

This commit is contained in:
lassulus 2023-09-04 20:35:32 +02:00
parent 1105d9ef32
commit 245dd8b67f

View File

@ -177,7 +177,7 @@ let
${buildTables iptables-version cfg.tables}
'';
startScript = pkgs.writeDash "krebs-iptables_start" ''
startScript = pkgs.writers.writeDash "krebs-iptables_start" ''
set -euf
iptables-restore < ${rules "v4"}
ip6tables-restore < ${rules "v6"}