Browse Source

add rcscript for vmd

ok mlarkin@
prompted by deraadt@
OPENBSD_5_9
jasper 8 years ago
parent
commit
defd0fdf0b
4 changed files with 15 additions and 5 deletions
  1. +2
    -2
      src/etc/Makefile
  2. +2
    -2
      src/etc/rc
  3. +2
    -1
      src/etc/rc.conf
  4. +9
    -0
      src/etc/rc.d/vmd

+ 2
- 2
src/etc/Makefile View File

@ -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


+ 2
- 2
src/etc/rc View File

@ -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


+ 2
- 1
src/etc/rc.conf View File

@ -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"


+ 9
- 0
src/etc/rc.d/vmd View File

@ -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

Loading…
Cancel
Save