summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjturner <jturner@openbsd.org>2015-11-30 23:35:29 +0000
committerjturner <jturner@openbsd.org>2015-11-30 23:35:29 +0000
commit9a398b436219f8cb225ab62ee30a153ed48c4756 (patch)
tree2c6b7b1dbe8783e3308db620707b29cb56ff4845
parentpledge regression: some operations appear to want to getpwent from (diff)
downloadwireguard-openbsd-9a398b436219f8cb225ab62ee30a153ed48c4756.tar.xz
wireguard-openbsd-9a398b436219f8cb225ab62ee30a153ed48c4756.zip
Add rebound rc.d script.
ok benno@ requested by tedu@
-rw-r--r--etc/Makefile4
-rw-r--r--etc/rc.d/rebound9
2 files changed, 11 insertions, 2 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 5971b999239..6f160a9f4d0 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.414 2015/11/27 03:53:28 deraadt Exp $
+# $OpenBSD: Makefile,v 1.415 2015/11/30 23:35:29 jturner Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@@ -56,7 +56,7 @@ RCDAEMONS=amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd eigrpd ftpd \
ftpproxy ftpproxy6 hostapd hotplugd httpd identd ifstated \
iked inetd isakmpd iscsid ldapd ldattach ldomd ldpd lockd \
lpd mopd mountd mrouted nfsd npppd nsd ntpd ospf6d ospfd \
- pflogd portmap radiusd rarpd rbootd relayd ripd route6d \
+ 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
diff --git a/etc/rc.d/rebound b/etc/rc.d/rebound
new file mode 100644
index 00000000000..6d79cca006c
--- /dev/null
+++ b/etc/rc.d/rebound
@@ -0,0 +1,9 @@
+#!/bin/sh
+#
+# $OpenBSD: rebound,v 1.1 2015/11/30 23:35:30 jturner Exp $
+
+daemon="/usr/sbin/rebound"
+
+. /etc/rc.d/rc.subr
+
+rc_cmd $1