firewallgen: make nft shebang work

This commit is contained in:
Daniel Barlow 2023-06-27 21:26:23 +01:00
parent 64e0ef5931
commit c595ae0ccb

View file

@ -53,7 +53,7 @@ let
({ family, ... } : family) ({ family, ... } : family)
(mapAttrsToList (n : v : v // { name = n; }) chains); (mapAttrsToList (n : v : v // { name = n; }) chains);
in writeScript name '' in writeScript name ''
#!${nftables}/sbin/nft -cf #!${nftables}/sbin/nft -f
flush ruleset flush ruleset