[csw-maintainers] /testing Please help test updated CAS initsmf

Maciej Bliziński maciej at opencsw.org
Mon Mar 28 09:17:10 CEST 2011


2011/3/27 Peter Bonivart <bonivart at opencsw.org>:
> +    if [ "$SMF_STATE" = "enabled" ] || [ "$daemon" = "yes" -a
> "$AUTOENABLE" != "no" -a "$AUTOENABLE" != "false" ]; then

This is a weird syntax, a combination of [ ] and -a.  I thought you
could just use -o:

> +    if [ "$SMF_STATE" = "enabled" -o "$daemon" = "yes" -a
> "$AUTOENABLE" != "no" -a "$AUTOENABLE" != "false" ]; then


More information about the maintainers mailing list