summaryrefslogtreecommitdiff
path: root/x11/gdm1/files/gdm
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gdm1/files/gdm')
-rwxr-xr-xx11/gdm1/files/gdm20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/gdm1/files/gdm b/x11/gdm1/files/gdm
new file mode 100755
index 00000000000..cc6eda8fb3e
--- /dev/null
+++ b/x11/gdm1/files/gdm
@@ -0,0 +1,20 @@
+#!/bin/sh
+#
+# $NetBSD: gdm,v 1.1.1.1 2004/01/20 13:33:08 xtraeme Exp $
+#
+
+# PROVIDE: gdm
+# REQUIRE: DAEMON LOGIN wscons
+# KEYWORD: shutdown
+
+. /etc/rc.subr
+
+name="gdm"
+rcvar=$name
+command="@PREFIX@/bin/${name}"
+pidfile="/var/run/${name}.pid"
+required_files="@PREFIX@/etc/gdm/gdm.conf"
+extra_commands="reload"
+
+load_rc_config $name
+run_rc_command "$1"