pkgsrc/sysutils/libvirt/files/libvirtd.sh
gls a8db3588f6 Add #!@RCD_SCRIPTS_SHELL@ to have a proper shell script.
(Hopefully) fix RCS ID.

Spotted by Greg Oster, thanks!
2012-09-10 17:29:09 +00:00

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