blob: 1e9976f1a4d3f89f2e0134599cbcef79c63dc664 (
plain)
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
28
|
#!/bin/sh
#
# $NetBSD: gdm.sh,v 1.2 2004/01/22 09:16:59 jmmv Exp $
#
# PROVIDE: gdm
# REQUIRE: DAEMON LOGIN wscons
# KEYWORD: shutdown
if [ -f /etc/rc.subr ]; then
. /etc/rc.subr
fi
name="gdm"
rcvar=${name}
command="@PREFIX@/bin/${name}"
pidfile="/var/run/${name}.pid"
procname="@PREFIX@/bin/gdm-binary"
required_files="@PKG_SYSCONFDIR@/gdm/gdm.conf"
extra_commands="reload"
if [ -f /etc/rc.subr ]; then
load_rc_config ${name}
run_rc_command "$1"
else
echo -n " ${name}"
${command} ${gdm_flags} ${command_args}
fi
|