On Sat, 28 Jun 2003, Tom Eastep wrote:
> While I was doing come compatibility testing with various shells, I
> noticed the following:
>
> Using /bin/sh (which is ''bash'' on my RedHat
installation):
>
> Shorewall Restarted
>
> real 0m21.246s
> user 0m9.650s
> sys 0m11.460s
>
> Using /bin/ash:
>
> Shorewall Restarted
>
> real 0m9.054s
> user 0m3.880s
> sys 0m5.070s
>
> The version of ash that I used is the one available from the Shorewall
> download sites in the /pub/shorewall directory.
>
> To use ash, I made the following changes:
>
> 1) I edited /usr/share/shorewall/firewall and changed the first line to
> "#!/bin/ash"
>
> 2) I run WonderShaper which I''ve installed in
/etc/shorewall/tcstart. I
> edited that file and changed two instances of "$[...]" to
"$((...))".
>
> -Tom
>
--
Pas op de muonen!