Re: she-bang in non-executable scripts

Tom Eastep
Wed, 03 Aug 2011 14:42:35 -0000

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).