Re: [Shorewall-devel] shorewall-init musings

2013-05-07 Thread Tom Eastep
On 5/7/13 4:30 PM, "Dash Four" wrote: > >Tom Eastep wrote: >> Patch attached. >> >Applied and tested with changes (see patch attached), You are aware that '==' is only supported by bash and that much of the world outside of Redhat doesn't use bash as /bin/sh? I'm guessing not. I will never a

Re: [Shorewall-devel] shorewall-init musings

2013-05-07 Thread Dash Four
Tom Eastep wrote: Patch attached. Applied and tested with changes (see patch attached), but still doesn't work. When I make modifications to my /etc/shorewall and then execute "shorewall compile -c" I am always getting "/var/lib/shorewall/firewall is up to date -- no compilation required",

Re: [Shorewall-devel] shorewall-init musings

2013-05-07 Thread Tom Eastep
On 05/06/2013 03:57 PM, Dash Four wrote: > > > Tom Eastep wrote: > >> >> What I'm suggesting is to replace all of that with: >> >> if [ $PRODUCT == shorewall -o $PRODUCT == shoreawll6 ]; then >> ${SBINDIR}/$PRODUCT compile -c >> fi >> >> 'compile -c' will compile ${VARDIR}/${PRODUCT}/firewall