6331N/A# $Id: setup 554 2013-04-22 09:12:58Z elkner $ 6331N/A# Copyright 2013 Jens Elkner 6331N/A# If running as ldapd it is assumed, that the target is a system instance 6331N/A print -
u2 'The system does not know anything about the service' \
6331N/A if [[ $X !=
'disabled' ]];
then 6331N/A # The script runs as the instance owner (default: ldapd), which should 6331N/A # disable it would yield an error anyway. 6331N/A #print -u2 "Trying to disable service '${SMF_FMRI}' ..." 6331N/A print -
u2 "Service '${SMF_FMRI}' is not disabled." ' 6331N/AUse the following command to disable it before starting setup again: 6331N/A\t' "svcadm disable ${SMF_FMRI}" 6331N/A# MaintainConfigArchive is needed, otherwise if the cli gets invoked, it writes 6331N/A# an archived config unconditionally _on startup_, which would prevent runnning 6331N/A # remove the files, which would people driving nuts, because a 2nd run 6331N/A # of setup would re-use them ...