#!/bin/sh
#
# $NetBSD: wdm.sh,v 1.3 2006/10/18 20:23:15 reed Exp $
#

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

. /etc/rc.subr

name="wdm"
rcvar=$name
command="/usr/pkg/bin/${name}"
command_args="-daemon"
pidfile="/var/run/${name}.pid"
required_files="/usr/pkg/etc/wdm/wdm-config"
extra_commands="reload"

load_rc_config $name
run_rc_command "$1"
