Browse Source

rc(8) bits for unwind(8); OK deraadt

OPENBSD_6_5
florian 6 years ago
parent
commit
1f4029cc66
4 changed files with 19 additions and 5 deletions
  1. +2
    -2
      src/etc/Makefile
  2. +2
    -2
      src/etc/rc
  3. +2
    -1
      src/etc/rc.conf
  4. +13
    -0
      src/etc/rc.d/unwind

+ 2
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.466 2019/01/08 07:14:10 florian Exp $
# $OpenBSD: Makefile,v 1.467 2019/01/26 10:59:07 florian Exp $
.include <bsd.own.mk>
@ -64,7 +64,7 @@ RCDAEMONS=amd apmd bgpd bootparamd cron dhcpd dhcrelay dhcrelay6 dvmrpd \
pflogd portmap rad radiusd rarpd rbootd rebound relayd ripd route6d \
sasyncd sensorsd slowcgi slaacd smtpd sndiod snmpd spamd \
spamlogd sshd statd switchd syslogd tftpd tftpproxy unbound \
vmd watchdogd wsmoused xenodm ypbind ypldap ypserv
unwind vmd watchdogd wsmoused xenodm 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.531 2019/01/24 05:14:02 ajacoutot Exp $
# $OpenBSD: rc,v 1.532 2019/01/26 10:59:07 florian 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
@ -474,7 +474,7 @@ dmesg >/var/run/dmesg.boot
make_keys
echo -n 'starting early daemons:'
start_daemon syslogd ldattach pflogd nsd rebound unbound ntpd
start_daemon syslogd ldattach pflogd nsd rebound unwind unbound ntpd
start_daemon iscsid isakmpd iked sasyncd ldapd npppd
echo '.'


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

@ -1,4 +1,4 @@
# $OpenBSD: rc.conf,v 1.218 2018/07/23 11:54:49 florian Exp $
# $OpenBSD: rc.conf,v 1.219 2019/01/26 10:59:07 florian Exp $
# DO NOT EDIT THIS FILE!!
#
@ -69,6 +69,7 @@ syslogd_flags= # add more flags, e.g. "-u -a /chroot/dev/log"
tftpd_flags=NO
tftpproxy_flags=NO
unbound_flags=NO
unwind_flags=NO
vmd_flags=NO
watchdogd_flags=NO
wsmoused_flags=NO # for enabling console mouse support (i386 alpha amd64)


+ 13
- 0
src/etc/rc.d/unwind View File

@ -0,0 +1,13 @@
#!/bin/ksh
#
# $OpenBSD: unwind,v 1.1 2019/01/26 10:59:07 florian Exp $
daemon="/sbin/unwind"
. /etc/rc.d/rc.subr
rc_pre() {
/usr/sbin/unbound-anchor -a /etc/unwind/trustanchor/root.key || true
}
rc_cmd $1

Loading…
Cancel
Save