svc-gconf-multi-user-desktop revision 20777
6033N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6033N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
RETVAL=1
if [[ $multi_user_version_gconf -eq $MULTI_USER_VERSION ]]; then
RETVAL=0
return $RETVAL
if ! are_multiuser_gconf_settings_uptodate; then
cmd_load="$GCONF_TOOL --direct --config-source xml:readwrite:${GCONF_DEFAULTS_DIR} --load=${GCONF_DEFAULTS_VALUES}"
print $cmd_load
print "failed to invoke: \"${cmd_load}\" for service: $SMF_FMRI"
exit $SMF_EXIT_ERR_CONFIG
cmd_load="$GCONF_TOOL --direct --config-source xml:readwrite:${GCONF_MANDATORY_DIR} --load=${GCONF_MANDATORY_VALUES}"
print $cmd_load
exec $cmd_load
print "failed to invoke: \"${cmd_load}\" for service: $SMF_FMRI"
exit $SMF_EXIT_ERR_CONFIG
cmd_unload="$GCONF_TOOL --direct --config-source xml:readwrite:${GCONF_DEFAULTS_DIR} --unload=${GCONF_DEFAULTS_VALUES}"
print $cmd_unload
print "failed to invoke: \"${cmd_unload}\" for service: $SMF_FMRI"
exit $SMF_EXIT_ERR_CONFIG
cmd_unload="$GCONF_TOOL --direct --config-source xml:readwrite:${GCONF_MANDATORY_DIR} --unload=${GCONF_MANDATORY_VALUES}"
print $cmd_unload
exec $cmd_unload
print "failed to invoke: \"${cmd_unload}\" for service: $SMF_FMRI"
exit $SMF_EXIT_ERR_CONFIG
exit $SMF_EXIT_ERR_CONFIG
exit $SMF_EXIT_OK