iptables: use upstream writers
This commit is contained in:
parent
1105d9ef32
commit
245dd8b67f
|
@ -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"}
|
||||
|
|
Loading…
Reference in a new issue