The man page didn't document nft scripts at all before, so putting that with the -f option seemed as good a place as any. It does work to start scripts #!/usr/sbin/nft --file but I didn't think this was worth documenting. The wiki is also updated. Signed-off-by: Duncan Roe <duncan_roe@xxxxxxxxxxxxxxx> --- doc/nft.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/nft.xml b/doc/nft.xml index 2dec0aa..432f1c4 100644 --- a/doc/nft.xml +++ b/doc/nft.xml @@ -168,6 +168,9 @@ vi:ts=4 sw=4 <para> Read input from <replaceable>filename</replaceable>. </para> + <para> + nft scripts must start <command>#!/usr/sbin/nft -f</command> + </para> </listitem> </varlistentry> <varlistentry> -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html