Browse Source

Remove krb5 bits from rc(8).

ok reyk@
OPENBSD_5_6
ajacoutot 10 years ago
parent
commit
bc9e3c6e93
8 changed files with 7 additions and 74 deletions
  1. +3
    -4
      src/etc/Makefile
  2. +2
    -3
      src/etc/rc
  3. +2
    -10
      src/etc/rc.conf
  4. +0
    -11
      src/etc/rc.d/ipropd_master
  5. +0
    -11
      src/etc/rc.d/ipropd_slave
  6. +0
    -12
      src/etc/rc.d/kadmind
  7. +0
    -11
      src/etc/rc.d/kdc
  8. +0
    -12
      src/etc/rc.d/kpasswdd

+ 3
- 4
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.354 2014/04/22 10:24:29 reyk Exp $
# $OpenBSD: Makefile,v 1.355 2014/04/23 09:56:56 ajacoutot Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -54,9 +54,8 @@ RCDAEMONS= amd apmd bgpd bootparamd cron dhcpd dhcrelay dvmrpd \
named nginx nsd ntpd ospfd ospf6d portmap pflogd rarpd rbootd \
relayd ripd route6d rtadvd rtsold rwhod sasyncd sendmail \
sensorsd slowcgi smtpd snmpd spamd sshd syslogd watchdogd \
wsmoused xdm ypbind ypldap yppasswdd ypserv kdc kadmind \
kpasswdd nfsd mountd lockd statd spamlogd sndiod \
tftpd tftpproxy ldomd ipropd_master ipropd_slave unbound
wsmoused xdm ypbind ypldap yppasswdd ypserv nfsd mountd lockd \
statd spamlogd sndiod tftpd tftpproxy ldomd unbound
MISETS= base${OSrev}.tgz comp${OSrev}.tgz \
man${OSrev}.tgz game${OSrev}.tgz etc${OSrev}.tgz


+ 2
- 3
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.424 2014/04/19 16:07:09 henning Exp $
# $OpenBSD: rc,v 1.425 2014/04/23 09:56:56 ajacoutot Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -501,8 +501,7 @@ fi
start_daemon hostapd rwhod lpd sendmail smtpd slowcgi nginx ftpd
start_daemon ftpproxy tftpd tftpproxy identd inetd rarpd bootparamd
start_daemon rbootd mopd spamd spamlogd kdc kadmind kpasswdd
start_daemon ipropd_master ipropd_slave sndiod
start_daemon rbootd mopd spamd spamlogd sndiod
echo '.'
# If rc.firstime exists, run it just once, and make sure it is deleted


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

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.187 2014/03/15 22:13:36 sthen Exp $
# $OpenBSD: rc.conf,v 1.188 2014/04/23 09:56:56 ajacoutot Exp $
# DO NOT EDIT THIS FILE!!
#
@ -62,11 +62,6 @@ inetd_flags=NO # for normal use: ""
rwhod_flags=NO # for normal use: ""
portmap_flags=NO # for normal use: ""
# Note: inetd(8) rpc services need portmap too
kdc_flags=NO # for normal use: "" see 'info heimdal' for help
kadmind_flags=NO # for normal use: ""
kpasswdd_flags=NO # for normal use: ""
ipropd_master_flags=NO # for normal use: ""
ipropd_slave_flags=NO # for normal use: "[master hostname]"
amd_flags=NO # for normal use: "" and see amd_master below
tftpd_flags=NO # for normal use: "[chroot dir]"
tftpproxy_flags=NO # for normal use: ""
@ -127,7 +122,7 @@ shlib_dirs= # extra directories for ldconfig, separated
# started in the specified order and stopped in reverse order
pkg_scripts=
unset kadmind_flags kdc_flags kpasswdd_flags mountd_flags nfsd_flags ypbind_flags
unset mountd_flags nfsd_flags ypbind_flags
[ -f /etc/rc.conf.local ] && . /etc/rc.conf.local
@ -144,9 +139,6 @@ if [ X"${pf}" = X"NO" ]; then
fi
# backward compatibility
: ${kadmind_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)}
: ${kdc_flags=$([ X"${krb5_master_kdc-NO}" = XYES -o X"${krb5_slave_kdc-NO}" = XYES ] || echo NO)}
: ${kpasswdd_flags=$([ X"${krb5_master_kdc-NO}" = XYES ] || echo NO)}
: ${mountd_flags=$([ X"${nfs_server-NO}" = XYES ] || echo NO)}
: ${nfsd_flags=$([ X"${nfs_server-NO}" = XYES ] && echo "-tun 4" || echo NO)}
: ${ypbind_flags=$([ X"`domainname`" != X"" -a -d /var/yp/binding ] || echo NO)}

+ 0
- 11
src/etc/rc.d/ipropd_master View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# $OpenBSD: ipropd_master,v 1.1 2013/08/09 16:24:54 ajacoutot Exp $
daemon="/usr/libexec/ipropd-master --detach"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1

+ 0
- 11
src/etc/rc.d/ipropd_slave View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# $OpenBSD: ipropd_slave,v 1.1 2013/08/09 16:24:54 ajacoutot Exp $
daemon="/usr/libexec/ipropd-slave --detach"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1

+ 0
- 12
src/etc/rc.d/kadmind View File

@ -1,12 +0,0 @@
#!/bin/sh
#
# $OpenBSD: kadmind,v 1.1 2011/07/07 18:17:50 ajacoutot Exp $
daemon="/usr/libexec/kadmind"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_cmd $1

+ 0
- 11
src/etc/rc.d/kdc View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# $OpenBSD: kdc,v 1.2 2013/06/17 19:23:24 ajacoutot Exp $
daemon="/usr/libexec/kdc --detach"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1

+ 0
- 12
src/etc/rc.d/kpasswdd View File

@ -1,12 +0,0 @@
#!/bin/sh
#
# $OpenBSD: kpasswdd,v 1.1 2011/07/07 18:17:50 ajacoutot Exp $
daemon="/usr/libexec/kpasswdd"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_cmd $1

Loading…
Cancel
Save