Re: she-bang in non-executable scripts

Tom Eastep
Wed, 03 Aug 2011 14:46:39 -0000

On Wed, 2011-08-03 at 07:42 -0700, Tom Eastep wrote:
> On Aug 3, 2011, at 6:27 AM, Jonathan Underwood wrote:
> >>
> >> /usr/share/shorewall/prog.header*
> >> /usr/share/shorewall/lib.*
> >> /usr/share/shorewall6/lib.*
> >> /usr/share/shorewall-lite/lib.*
> >> /usr/share/shorewall6-lite/lib.*
> >> /etc/shorewall/scfilter
> >> /etc/shorewall6/scfilter
> >> /usr/share/shorewall/configfiles/scfilter
> >> usr/share/shorewall6/configfiles/scfilter
> >
> > We generally remove the shebang from these (though note Tom''s
email
> > about scfilter).
>
> With the exception of the scfilter files, I have removed the shebang from
the other files.
>
> As part of that change, the shebang in the compiled script will contain the
pathname of the SHOREWALL_SHELL, rather than /bin/sh (when the two are
different, of course).

Note that I am currently targeting this change for 4.4.23.

-Tom
--