diff options
author | tv <tv@krebsco.de> | 2016-06-13 02:04:22 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-06-13 02:10:02 +0200 |
commit | a16f4383142403eab145a8d147e5c9c93309ba4f (patch) | |
tree | 160727b414ea864b2a5018e940952ff10c95f3af /krebs/3modules/iptables.nix | |
parent | fb226f349843c080d6c81b60301a3a93977b99a4 (diff) |
sprinkle with some write{B,D}ash
Diffstat (limited to 'krebs/3modules/iptables.nix')
-rw-r--r-- | krebs/3modules/iptables.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/krebs/3modules/iptables.nix b/krebs/3modules/iptables.nix index bb06a9388..dccc11b3f 100644 --- a/krebs/3modules/iptables.nix +++ b/krebs/3modules/iptables.nix @@ -1,7 +1,7 @@ arg@{ config, lib, pkgs, ... }: let - inherit (pkgs) writeScript writeText; + inherit (pkgs) writeText; inherit (builtins) elem @@ -175,8 +175,7 @@ let ${buildTables iptables-version tables} ''; - startScript = writeScript "krebs-iptables_start" '' - #! /bin/sh + startScript = pkgs.writeDash "krebs-iptables_start" '' set -euf iptables-restore < ${rules4 4} ip6tables-restore < ${rules4 6} |