|
|
@ -1,6 +1,6 @@ |
|
|
|
#!/bin/sh |
|
|
|
# |
|
|
|
# $OpenBSD: sndiod,v 1.2 2011/12/28 14:58:16 ajacoutot Exp $ |
|
|
|
# $OpenBSD: sndiod,v 1.3 2016/04/27 17:29:08 ajacoutot Exp $ |
|
|
|
|
|
|
|
daemon="/usr/bin/sndiod" |
|
|
|
|
|
|
@ -8,4 +8,16 @@ daemon="/usr/bin/sndiod" |
|
|
|
|
|
|
|
rc_reload=NO |
|
|
|
|
|
|
|
rc_check() { |
|
|
|
pgrep -T "${daemon_rtable}" -U _sndio -q -xf "${pexp}" |
|
|
|
} |
|
|
|
|
|
|
|
rc_reload() { |
|
|
|
pkill -T "${daemon_rtable}" -U _sndio -HUP -xf "${pexp}" |
|
|
|
} |
|
|
|
|
|
|
|
rc_stop() { |
|
|
|
pkill -T "${daemon_rtable}" -U _sndio -xf "${pexp}" |
|
|
|
} |
|
|
|
|
|
|
|
rc_cmd $1 |