summaryrefslogtreecommitdiffstats
path: root/x11/gdm/files/gdm.in
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-19 09:23:27 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-19 09:23:27 +0800
commit3324a92faf8890db3675dcc341dec9ed60420e4d (patch)
tree969662b1af1f4e0820a22811875e7bb100a0e61e /x11/gdm/files/gdm.in
parent9d8d9605a6c802b1f233c53a5335c46de28faed9 (diff)
downloadmarcuscom-ports-3324a92faf8890db3675dcc341dec9ed60420e4d.tar
marcuscom-ports-3324a92faf8890db3675dcc341dec9ed60420e4d.tar.gz
marcuscom-ports-3324a92faf8890db3675dcc341dec9ed60420e4d.tar.bz2
marcuscom-ports-3324a92faf8890db3675dcc341dec9ed60420e4d.tar.lz
marcuscom-ports-3324a92faf8890db3675dcc341dec9ed60420e4d.tar.xz
marcuscom-ports-3324a92faf8890db3675dcc341dec9ed60420e4d.tar.zst
marcuscom-ports-3324a92faf8890db3675dcc341dec9ed60420e4d.zip
Update to 2.17.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7820 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/files/gdm.in')
-rw-r--r--x11/gdm/files/gdm.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in
new file mode 100644
index 000000000..6dab74433
--- /dev/null
+++ b/x11/gdm/files/gdm.in
@@ -0,0 +1,24 @@
+#!/bin/sh
+# $FreeBSD: ports/x11/gdm/files/gdm.in,v 1.2 2006/10/14 08:35:24 marcus Exp $
+# $MCom: ports/x11/gdm/files/gdm.in,v 1.8 2006/10/10 20:22:24 mezz Exp $
+
+# PROVIDE: gdm
+# REQUIRE: LOGIN cleanvar moused
+#
+# Add the following to /etc/rc.conf to start GDM at boot time:
+#
+# gdm_enable="YES"
+#
+
+gdm_enable=${gdm_enable-"NO"}
+
+. %%RC_SUBR%%
+
+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"