Casper.Dik at Sun.COM wrote: > >Tony Nguyen wrote: > >> The updated and incremental webrevs are at: > >> > >> http://cr.opensolaris.org/~tonyn/firewall29Oct2008/ > >> > >> http://cr.opensolaris.org/~tonyn/firewall-inc/ > >> > >> The original webrev is still available at: > >> > >> http://cr.opensolaris.org/~tonyn/firewall/ > > > >Before starting to comment on the scripts: Is it mandatory for the > >firewall SMF scripts to use /sbin/sh or is /usr/bin/ksh acceptable, too > >? > > Possibly if you make sure that /usr is mounted first.
The scripts already use stuff like "sed" ([1]) and AFAIK that means they depend on /usr being mounted. [1]=my main concern is that this script could be slighty reworked to avoid depending on "sed"&co. just to dismantle one single string - builtin shell operators can do the same in a much faster manner (and if we're allowed to use ksh93 we may be able to fold various calls to "svcprop" to just one in a similar manner how http://svn.genunix.org/repos/on/branches/ksh93/gisburn/scripts/svcproptree1.sh works). ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz at nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;)