summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/Makefile4
-rw-r--r--etc/rc4
-rw-r--r--etc/rc.conf3
-rw-r--r--etc/rc.d/vmd9
4 files changed, 15 insertions, 5 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 20e90b239da..3bfb0c51cc8 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.416 2015/12/01 07:50:03 deraadt Exp $
+# $OpenBSD: Makefile,v 1.417 2015/12/05 09:55:18 jasper Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -56,7 +56,7 @@ RCDAEMONS=amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd eigrpd ftpd \
pflogd portmap radiusd rarpd rbootd rebound relayd ripd route6d \
rtadvd sasyncd sensorsd slowcgi smtpd sndiod snmpd spamd \
spamlogd sshd statd syslogd tftpd tftpproxy unbound \
- watchdogd wsmoused xdm ypbind ypldap ypserv
+ vmd watchdogd wsmoused xdm ypbind ypldap ypserv
MISETS= base${OSrev}.tgz comp${OSrev}.tgz man${OSrev}.tgz game${OSrev}.tgz
diff --git a/etc/rc b/etc/rc
index f702241538b..8fd85984081 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.471 2015/12/02 20:39:57 rpe Exp $
+# $OpenBSD: rc,v 1.472 2015/12/05 09:55:18 jasper Exp $
# System startup script run by init on autoboot or after single-user.
# Output and error are redirected to console by init, and the console is the
@@ -450,7 +450,7 @@ fi
echo 'preserving editor files.'; /usr/libexec/vi.recover
echo -n 'starting network daemons:'
-start_daemon ldomd sshd snmpd ldpd ripd ospfd ospf6d bgpd ifstated
+start_daemon ldomd vmd sshd snmpd ldpd ripd ospfd ospf6d bgpd ifstated
start_daemon relayd dhcpd dhcrelay mrouted dvmrpd radiusd eigrpd
if ifconfig lo0 inet6 >/dev/null 2>&1; then
diff --git a/etc/rc.conf b/etc/rc.conf
index ed7a00bc42d..416065b6362 100644
--- a/etc/rc.conf
+++ b/etc/rc.conf
@@ -1,4 +1,4 @@
-# $OpenBSD: rc.conf,v 1.207 2015/11/27 03:53:28 deraadt Exp $
+# $OpenBSD: rc.conf,v 1.208 2015/12/05 09:55:18 jasper Exp $
# DO NOT EDIT THIS FILE!!
#
@@ -67,6 +67,7 @@ syslogd_flags= # add more flags, e.g. "-u -a /chroot/dev/log"
tftpd_flags=NO
tftpproxy_flags=NO
unbound_flags=NO
+vmd_flags=NO
watchdogd_flags=NO
wsmoused_flags=NO # for enabling console mouse support (i386 alpha amd64)
# for ps/2 or usb mice: "", serial: "-p /dev/cua00"
diff --git a/etc/rc.d/vmd b/etc/rc.d/vmd
new file mode 100644
index 00000000000..2cb5c44286a
--- /dev/null
+++ b/etc/rc.d/vmd
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $OpenBSD: vmd,v 1.1 2015/12/05 09:55:18 jasper Exp $
+
+daemon="/usr/sbin/vmd"
+
+. /etc/rc.d/rc.subr
+
+rc_cmd $1