pkgsrc/x11/wdm/files/wdm.sh

21 lines
361 B
Bash
Raw Normal View History

#!@RCD_SCRIPTS_SHELL@
#
2003-05-07 20:27:07 +02:00
# $NetBSD: wdm.sh,v 1.2 2003/05/07 18:27:07 jmmv Exp $
#
# PROVIDE: wdm
# REQUIRE: DAEMON LOGIN wscons
# KEYWORD: shutdown
. /etc/rc.subr
name="wdm"
rcvar=$name
command="@PREFIX@/bin/${name}"
pidfile="/var/run/${name}.pid"
2003-05-07 20:27:07 +02:00
required_files="@PKG_SYSCONFDIR@/wdm-config"
extra_commands="reload"
load_rc_config $name
run_rc_command "$1"