22 lines
405 B
Bash
Executable file
22 lines
405 B
Bash
Executable file
#!@RCD_SCRIPTS_SHELL@
|
|
#
|
|
# $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="@PREFIX@/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
|