diff options
author | wiz <wiz@pkgsrc.org> | 2001-07-23 00:59:19 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2001-07-23 00:59:19 +0000 |
commit | dd8782ce0af9b242dc5cc710771db493c91d8a17 (patch) | |
tree | 9749419b75c91fa8a5e5cf3866cde206510b3022 /x11/gdm/files | |
parent | 04959a215513cfcfb8c37c345bab11022e707ef6 (diff) | |
download | pkgsrc-dd8782ce0af9b242dc5cc710771db493c91d8a17.tar.gz |
Add rc.d-type startup script, as requested in pkg/13475.
On deinstall, remove an additional directory that gets created for this package.
Diffstat (limited to 'x11/gdm/files')
-rwxr-xr-x | x11/gdm/files/gdm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/x11/gdm/files/gdm b/x11/gdm/files/gdm new file mode 100755 index 00000000000..ec87a1690b8 --- /dev/null +++ b/x11/gdm/files/gdm @@ -0,0 +1,20 @@ +#!/bin/sh +# +# $NetBSD: gdm,v 1.1 2001/07/23 00:59:20 wiz 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" |