diff options
Diffstat (limited to 'x11/gdm/files/gdm.in')
-rw-r--r-- | x11/gdm/files/gdm.in | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/gdm/files/gdm.in b/x11/gdm/files/gdm.in new file mode 100644 index 000000000..69083d0c6 --- /dev/null +++ b/x11/gdm/files/gdm.in @@ -0,0 +1,20 @@ +#!/bin/sh +# $FreeBSD$ +# $MCom$ + +# PROVIDE: gdm +# REQUIRE: DAEMON +# KEYWORD: FreeBSD shutdown + +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" |