blob: be5d503a6a4682493efb5ef82a126d9f2909dbc2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/sh
# $FreeBSD: ports/x11/gdm/files/gdm.in,v 1.5 2007/10/24 23:36:53 marcus Exp $
# $MCom: ports/x11/gdm/files/gdm.in,v 1.18 2007/11/23 06:47:21 marcus Exp $
# PROVIDE: gdm
# REQUIRE: LOGIN cleanvar moused syscons dbus consolekit
#
# Add the following to /etc/rc.conf to start GDM at boot time:
#
# gdm_enable="YES"
#
. %%RC_SUBR%%
. %%GNOME_SUBR%%
gdm_enable=${gdm_enable-${gnome_enable}}
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:%%LOCALBASE%%/bin:%%LOCALBASE%%/sbin
name=gdm
rcvar=`set_rcvar`
command="%%PREFIX%%/sbin/${name}"
pidfile="/var/run/${name}.pid"
procname="%%PREFIX%%/sbin/gdm-binary"
load_rc_config ${name}
run_rc_command "$1"
|