summaryrefslogtreecommitdiff
path: root/etc/rc.d/sndiod
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2016-04-28 09:15:17 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2016-04-28 09:15:17 +0000
commit135364eaa26ab03925c5bdee4be274eec94daee5 (patch)
tree9631729cbf60724ed835ef8750fc5db1d35e488e /etc/rc.d/sndiod
parent3c8568cbd09d2c20fc90a29c4bc465bb63998fae (diff)
Experiment on matching on the daemon_user is over. It needs more work.
portmap isn't happy with it as reported by naddy@
Diffstat (limited to 'etc/rc.d/sndiod')
-rw-r--r--etc/rc.d/sndiod14
1 files changed, 1 insertions, 13 deletions
diff --git a/etc/rc.d/sndiod b/etc/rc.d/sndiod
index 50b2baf638e..ca2e0d25c61 100644
--- a/etc/rc.d/sndiod
+++ b/etc/rc.d/sndiod
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: sndiod,v 1.3 2016/04/27 17:29:08 ajacoutot Exp $
+# $OpenBSD: sndiod,v 1.4 2016/04/28 09:15:16 ajacoutot Exp $
daemon="/usr/bin/sndiod"
@@ -8,16 +8,4 @@ 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