[BACK]Return to xdm.in CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

File: [cvs.NetBSD.org] / src / etc / rc.d / xdm.in (download)

Revision 1.1.2.2, Sat Dec 6 22:03:15 2008 UTC (11 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b
Changes since 1.1.2.1: +20 -0 lines

Pull up following revision(s) (requested by cube in ticket #168):
	etc/rc.d/Makefile: revision 1.70
	etc/rc.d/xdm: file removal
	etc/rc.d/xfs: file removal
	etc/rc.d/xfs.in: revision 1.1
	etc/rc.d/xdm.in: revision 1.1
- Generate xdm and xfs depending on the value of X11FLAVOUR
- Only generate and install them for MKX11 builds

#!/bin/sh
#
# $NetBSD: xdm.in,v 1.1.2.2 2008/12/06 22:03:15 snj Exp $
#

# PROVIDE: xdm
# REQUIRE: DAEMON LOGIN wscons
# KEYWORD: shutdown

$_rc_subr_loaded . /etc/rc.subr

name="xdm"
rcvar=$name
command="@X11ROOTDIR@/bin/${name}"
pidfile="/var/run/${name}.pid"
required_files="/etc/X11/xdm/xdm-config"
extra_commands="reload"

load_rc_config $name
run_rc_command "$1"