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

Ben Walton bwalton at opencsw.org
Thu Apr 21 15:49:39 CEST 2011


Excerpts from Peter Bonivart's message of Sun Mar 27 10:14:44 -0400 2011:

Hi Peter,

> +    load_smf_service_state "$FMRI/$service"

This function defaults SMF_STATE to enabled.  It can only be toggled
to disabled if the preserved state file exists.

> +    # enable the service if it was enabled before, OR if $daemon =
> yes and AUTOENABLE is set
> +    # previous SMF state always takes precedence
> +    # note: autoenable_daemons and autoenable_$service controls
> $daemon, $AUTOENABLE is set by the package itself
> +    if [ "$SMF_STATE" = "enabled" ] || [ "$daemon" = "yes" -a
> "$AUTOENABLE" != "no" -a "$AUTOENABLE" != "false" ]; then

We now always enable, in the case of a fresh installation...

Thanks
-Ben
--
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302



More information about the maintainers mailing list