#
#
# For modifying parameters passed to gdm, do not edit this script.
# Instead use svccfg(1m) to modify the SMF repository. For example:
#
# # svccfg
# svc:> select application/graphical-login/gdm
# svc:/application/graphical-login/gdm> setprop gdm/args = "--fatal-warnings"
# svc:/application/graphical-login/gdm> exit
CK_FMRI='svc:/system/consolekit'
case "$1" in
'start')
rc=$?
if [[ $rc != 0 ]]; then
echo "$0: gdm failed with $rc"
exit $SMF_EXIT_ERR_FATAL
fi
# If no static sessions started, start dynamic ones
sleep 2
fi
;;
'stop')
fi
if [[ ! -f $PIDFILE ]] ; then
echo "$PIDFILE doesn't exist, perhaps GDM isn't running"
else
fi
# kill any stragglers that gdm itself didn't kill off
;;
*)
echo "Usage: $0 { start | stop }"
exit $SMF_EXIT_ERR_FATAL
;;
esac
exit $SMF_EXIT_OK