Browse Source

rc(8) infrastructure for rad

OPENBSD_6_4
florian 6 years ago
parent
commit
2aa7a2601f
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/rad

+ 2
- 2
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.462 2018/04/29 11:17:02 schwarze Exp $
# $OpenBSD: Makefile,v 1.463 2018/07/12 08:20:36 florian Exp $
.include <bsd.own.mk>
@ -61,7 +61,7 @@ RCDAEMONS=amd apmd bgpd bootparamd cron dhcpd 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 radiusd rarpd rbootd rebound relayd ripd route6d \
pflogd portmap rad radiusd rarpd rbootd rebound relayd ripd route6d \
rtadvd sasyncd sensorsd slowcgi slaacd smtpd sndiod snmpd spamd \
spamlogd sshd statd switchd syslogd tftpd tftpproxy unbound \
vmd watchdogd wsmoused xenodm ypbind ypldap ypserv


+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.527 2018/07/11 21:49:37 sthen Exp $
# $OpenBSD: rc,v 1.528 2018/07/12 08:20:36 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
@ -582,7 +582,7 @@ run_upgrade_script sysmerge
echo -n 'starting network daemons:'
start_daemon ldomd sshd switchd snmpd ldpd ripd ospfd ospf6d bgpd ifstated
start_daemon relayd dhcpd dhcrelay mrouted dvmrpd radiusd eigrpd route6d rtadvd
start_daemon hostapd lpd smtpd slowcgi httpd ftpd
start_daemon rad hostapd lpd smtpd slowcgi httpd ftpd
start_daemon ftpproxy ftpproxy6 tftpd tftpproxy identd inetd rarpd bootparamd
start_daemon rbootd mopd vmd spamd spamlogd sndiod
echo '.'


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

@ -1,4 +1,4 @@
# $OpenBSD: rc.conf,v 1.216 2017/05/30 12:04:26 tb Exp $
# $OpenBSD: rc.conf,v 1.217 2018/07/12 08:20:36 florian Exp $
# DO NOT EDIT THIS FILE!!
#
@ -46,6 +46,7 @@ ntpd_flags=
ospfd_flags=NO
ospf6d_flags=NO
pflogd_flags= # add more flags, e.g. "-s 256"
rad_flags=NO
radiusd_flags=NO
rarpd_flags=NO
rbootd_flags=NO


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

@ -0,0 +1,9 @@
#!/bin/ksh
#
# $OpenBSD: rad,v 1.1 2018/07/12 08:20:36 florian Exp $
daemon="/usr/sbin/rad"
. /etc/rc.d/rc.subr
rc_cmd $1

Loading…
Cancel
Save