#!/bin/sh
#
# $NetBSD: libvirtd.sh,v 1.2 2012/09/10 17:29:09 gls Exp $
#
# PROVIDE: libvirtd
# # REQUIRE: DAEMON network
# KEYWORD: shutdown

. /etc/rc.subr

name="libvirtd"
rcvar=$name
command="/usr/pkg/sbin/libvirtd"
command_args="-d"

if [ -f /etc/rc.subr ]; then
        load_rc_config $name
        run_rc_command "$1"
else
        echo -n "${name}"
        ${command} ${command_args}
fi
