From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick McHardy Subject: Re: [nft PATCH] files: replace interpreter during installation Date: Tue, 14 Jan 2014 13:11:09 +0000 Message-ID: <20140114131108.GC408@macbook.localnet> References: <20140113091623.10582.14579.stgit@nfdev.cica.es> <20140113093912.GA14898@macbook.localnet> <20140113095252.GB15457@macbook.localnet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Netfilter Development Mailing list To: Arturo Borrero Gonzalez Return-path: Received: from stinky.trash.net ([213.144.137.162]:34273 "EHLO stinky.trash.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751295AbaANNLO (ORCPT ); Tue, 14 Jan 2014 08:11:14 -0500 Content-Disposition: inline In-Reply-To: Sender: netfilter-devel-owner@vger.kernel.org List-ID: On Tue, Jan 14, 2014 at 01:48:46PM +0100, Arturo Borrero Gonzalez wrote: > On 13 January 2014 10:52, Patrick McHardy wrote: > > On Mon, Jan 13, 2014 at 10:49:51AM +0100, Arturo Borrero Gonzalez wrote: > >> On 13 January 2014 10:39, Patrick McHardy wrote: > >> > > >> > I think we should use .in files instead and perform variable substition. > >> > > >> > >> Could you please elaborate this? > >> > >> I have understood: > >> > >> Use a variable in files/nftables/*, like: > >> << > >> $shebang > >> > >> table filter { > >> [...] > >> > >> >> > >> > >> And replace during install. Is this true? > > > > Use f.i. files/nftables/ipv4-filter.in and use > > > > #! ${sbindir}/nft > > I'm OK with this. > > But I see you pushed my patch to master [0]. Should I still work on > your .in approach? Crap, that was actually a mistake, I committed it to my tree before I replied to your email. Sorry. Please go ahead with the alternative patch.