all the other rc plumbing.
OK deraadt@
-# $OpenBSD: Makefile,v 1.485 2021/11/11 09:38:14 claudio Exp $
+# $OpenBSD: Makefile,v 1.486 2022/06/28 18:46:00 claudio Exp $
.include <bsd.own.mk>
snmpd.conf vm.conf ypldap.conf
# -r-xr-xr-x
-RCDAEMONS=amd apmd bgpd bootparamd cron dhcpd dhcpleased dhcrelay dhcrelay6 \
- 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 \
+RCDAEMONS=amd apmd bgpd bgplgd bootparamd cron dhcpd dhcpleased dhcrelay \
+ dhcrelay6 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 rad radiusd rarpd rbootd relayd resolvd ripd route6d \
sasyncd sensorsd slowcgi slaacd smtpd sndiod snmpd spamd \
spamlogd sshd statd syslogd tftpd tftpproxy unbound \
_isakmpd:*:68:
network:*:69:
_rpki-client:*:70:
+_bgplgd:*:71
authpf:*:72:
_syslogd:*:73:
_pflogd:*:74:
#
-# $OpenBSD: aliases,v 1.69 2022/04/21 20:48:50 danj Exp $
+# $OpenBSD: aliases,v 1.70 2022/06/28 18:46:01 claudio Exp $
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /usr/libexec/mail.local.
# Redirections for pseudo accounts that should not receive mail
_bgpd: /dev/null
+_bgplgd: /dev/null
_dhcp: /dev/null
_dpb: /dev/null
_dvmrpd: /dev/null
www:*:67:67::0:0:HTTP Server:/var/www:/sbin/nologin
_isakmpd:*:68:68::0:0:isakmpd privsep:/var/empty:/sbin/nologin
_rpki-client:*:70:70::0:0:rpki-client user:/nonexistent:/sbin/nologin
+_bgplgd:*:71:71::0:0:bgplgd Daemon:/nonexistent:/sbin/nologin
_syslogd:*:73:73::0:0:Syslog Daemon:/var/empty:/sbin/nologin
_pflogd:*:74:74::0:0:pflogd privsep:/var/empty:/sbin/nologin
_bgpd:*:75:75::0:0:BGP Daemon:/var/empty:/sbin/nologin
-# $OpenBSD: rc,v 1.558 2022/06/26 09:36:13 florian Exp $
+# $OpenBSD: rc,v 1.559 2022/06/28 18:46:01 claudio 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
echo -n 'starting network daemons:'
start_daemon ldomd sshd snmpd ldpd ripd ospfd ospf6d bgpd ifstated
start_daemon relayd dhcpd dhcrelay mrouted dvmrpd radiusd eigrpd route6d
-start_daemon rad hostapd lpd smtpd slowcgi httpd ftpd
+start_daemon rad hostapd lpd smtpd slowcgi bgplgd httpd ftpd
start_daemon ftpproxy ftpproxy6 tftpd tftpproxy identd inetd rarpd bootparamd
start_daemon rbootd mopd vmd spamd spamlogd sndiod
echo '.'
-# $OpenBSD: rc.conf,v 1.225 2021/11/11 09:38:14 claudio Exp $
+# $OpenBSD: rc.conf,v 1.226 2022/06/28 18:46:01 claudio Exp $
# DO NOT EDIT THIS FILE!!
#
# Otherwise, these variables override the default flags.
apmd_flags=NO
bgpd_flags=NO
+bgplgd_flags=NO
bootparamd_flags=NO
cron_flags=
dhcpd_flags=NO
--- /dev/null
+#!/bin/ksh
+#
+# $OpenBSD: bgplgd,v 1.1 2022/06/28 18:46:01 claudio Exp $
+
+daemon="/usr/sbin/bgplgd"
+
+. /etc/rc.d/rc.subr
+
+rc_reload=NO
+
+rc_cmd $1