Browse Source

Handle aucat -> sndiod name change, and enable sndiod by default. Mostly

from ajacoutot@.
ok deraadt ajacoutot
OPENBSD_5_1
ratchov 13 years ago
parent
commit
d5988520df
5 changed files with 18 additions and 24 deletions
  1. +3
    -3
      src/etc/Makefile
  2. +2
    -2
      src/etc/rc
  3. +4
    -3
      src/etc/rc.conf
  4. +0
    -16
      src/etc/rc.d/aucat
  5. +9
    -0
      src/etc/rc.d/sndiod

+ 3
- 3
src/etc/Makefile View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.311 2011/10/29 14:29:33 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.312 2011/12/09 14:52:26 ratchov Exp $
TZDIR= /usr/share/zoneinfo
LOCALTIME= Canada/Mountain
@ -48,14 +48,14 @@ BIN1+= wsconsctl.conf
BIN2= motd
# -r-xr-xr-x
RCDAEMONS= amd apmd aucat bgpd bootparamd btd cron dhcpd dhcrelay dvmrpd \
RCDAEMONS= amd apmd bgpd bootparamd btd cron dhcpd dhcrelay dvmrpd \
ftpd ftpproxy hostapd hotplugd httpd identd ifstated iked \
inetd isakmpd ldapd ldattach ldpd lpd mopd mrouted named nsd \
ntpd ospfd ospf6d portmap pflogd rarpd rbootd relayd ripd \
route6d rtadvd rtsold rwhod sasyncd sendmail sensorsd smtpd \
snmpd spamd sshd syslogd watchdogd wsmoused xdm ypbind ypldap \
yppasswdd ypserv kdc kadmind kpasswdd nfsd mountd lockd statd \
spamlogd
spamlogd sndiod
MISETS= base${OSrev}.tgz comp${OSrev}.tgz \
man${OSrev}.tgz game${OSrev}.tgz etc${OSrev}.tgz


+ 2
- 2
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.396 2011/10/13 07:54:06 ajacoutot Exp $
# $OpenBSD: rc,v 1.397 2011/12/09 14:52:26 ratchov Exp $
# System startup script run by init on autoboot
# or after single-user.
@ -505,7 +505,7 @@ fi
start_daemon hostapd rwhod lpd sendmail smtpd httpd ftpd ftpproxy
start_daemon identd inetd rarpd bootparamd rbootd mopd popa3d
start_daemon spamd spamlogd kdc kadmind kpasswdd aucat
start_daemon spamd spamlogd kdc kadmind kpasswdd sndiod
echo '.'
if [ X"${spamd_flags}" != X"NO" ]; then


+ 4
- 3
src/etc/rc.conf View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $OpenBSD: rc.conf,v 1.163 2011/10/07 05:54:48 ajacoutot Exp $
# $OpenBSD: rc.conf,v 1.164 2011/12/09 14:52:26 ratchov Exp $
# set these to "NO" to turn them off. otherwise, they're used as flags
ldpd_flags=NO # for normal use: ""
@ -44,7 +44,7 @@ ifstated_flags=NO # for normal use: ""
relayd_flags=NO # for normal use: ""
snmpd_flags=NO # for normal use: ""
smtpd_flags=NO # for normal use: ""
aucat_flags=NO # for normal use: ""
sndiod_flags="" # for normal use: ""
ldapd_flags=NO # for normal use: ""
inetd_flags="" # for normal use: ""
rwhod_flags=NO # for normal use: ""
@ -122,7 +122,7 @@ local_rcconf="/etc/rc.conf.local"
unset inetd_flags rwhod_flags portmap_flags kdc_flags kadmind_flags
unset kpasswdd_flags btd_flags nfsd_flags mountd_flags lockd_flags
unset statd_flags amd_flags ypbind_flags
unset statd_flags amd_flags ypbind_flags sndiod_flags
[ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line
@ -152,3 +152,4 @@ fi
: ${statd_flags=$([ X"${lockd-NO}" = XYES ] || echo NO)}
: ${amd_flags=$([ X"${amd-NO}" = XYES ] || echo NO)}
: ${ypbind_flags=$([ X"`domainname`" != X"" -a -d /var/yp/binding ] || echo NO)}
: ${sndiod_flags=${aucat_flags-}}

+ 0
- 16
src/etc/rc.d/aucat View File

@ -1,16 +0,0 @@
#!/bin/sh
#
# $OpenBSD: aucat,v 1.2 2011/07/08 05:16:08 ajacoutot Exp $
daemon="/usr/bin/aucat"
. /etc/rc.d/rc.subr
pexp="${daemon} -l${daemon_flags:+ ${daemon_flags}}"
rc_reload=NO
rc_pre() {
daemon_flags="-l ${daemon_flags}"
}
rc_cmd $1

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

@ -0,0 +1,9 @@
#!/bin/sh
#
# $OpenBSD: sndiod,v 1.1 2011/12/09 14:52:27 ratchov Exp $
daemon="/usr/bin/sndiod"
. /etc/rc.d/rc.subr
rc_cmd $1

Loading…
Cancel
Save