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

_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to