summaryrefslogtreecommitdiff
path: root/etc/rc.d/vmd
blob: a86631a4c06e8e45846ce72f93217f2e4642508e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# $OpenBSD: vmd,v 1.3 2015/12/19 13:45:12 ajacoutot Exp $

daemon="/usr/sbin/vmd"

. /etc/rc.d/rc.subr

pexp="vmd: parent.*"

# child will not return a config parsing error to the parent
rc_pre() {
	${daemon} -n ${daemon_flags}
}

rc_cmd $1