[BACK]Return to sndiod CVS log [TXT][DIR] Up to [local] / src / etc / rc.d

File: [local] / src / etc / rc.d / sndiod (download)

Revision 1.6, Fri Nov 22 06:31:30 2019 UTC (4 years, 6 months ago) by claudio
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, HEAD
Changes since 1.5: +1 -3 lines

sndiod(8) reopens audio interfaces on SIGHUP, which makes a lot of sense
when -F is used. Because of this allow rc.d script to reload sndiod.
OK kn ratchov aja

#!/bin/ksh
#
# $OpenBSD: sndiod,v 1.6 2019/11/22 06:31:30 claudio Exp $

daemon="/usr/bin/sndiod"

. /etc/rc.d/rc.subr

rc_cmd $1