svc-consolekit revision 20188
#
# Use is subject to license terms.
#
#pragma ident "@(#)svc-consolekit.src 1.1 06/02/06 SMI"
#
# For modifying parameters passed to dtlogin, do not edit
# this script. Instead use svccfg(1m) to modify the SMF
# repository. For example:
#
# # svccfg
# svc:> select system/consolekit
# svc:/system/consolekit> setprop gdm/args = "--fatal-warnings"
# svc:/system/consolekit> exit
if smf_is_nonglobalzone; then
echo "console-kit-daemon cannot be run in non-global zones"
sleep 5 &
exit $SMF_EXIT_OK
fi
case "$1" in
'start')
rc=$?
echo "$0: consolekit failed with $rc"
exit $SMF_EXIT_ERR_FATAL
fi
;;
*)
echo "Usage: $0 { start }"
exit $SMF_EXIT_ERR_FATAL
;;
esac
exit $SMF_EXIT_OK