#!/bin/sh
# $FreeBSD: ports/x11/gdm/files/gdm.sh.in,v 1.5 2005/06/11 02:58:47 marcus Exp $

# PROVIDE: gdm
# REQUIRE: DAEMON
# KEYWORD: FreeBSD shutdown

gdm_enable=${gdm_enable-"NO"}

. /etc/rc.subr

name=gdm
rcvar=`set_rcvar`
command="/usr/X11R6/sbin/${name}"
pidfile="/var/run/${name}.pid"
procname="/usr/X11R6/sbin/gdm-binary"

load_rc_config ${name}
run_rc_command "$1"
