diff options
author | Dugan Chen <max@mr.gy> | 2014-03-12 07:16:23 +0700 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2014-03-12 12:42:51 -0500 |
commit | 564e1f2a5bd9245600ccf321960bc85607c88555 (patch) | |
tree | 6ce761e2e48734dacb0e1820cd47d961fcafa8d0 /system/oss/rc.oss | |
parent | a8945a06d5f8e91d7abbbe1a71154bf727e986b2 (diff) |
audio/oss: Moved from System category.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/oss/rc.oss')
-rw-r--r-- | system/oss/rc.oss | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/system/oss/rc.oss b/system/oss/rc.oss deleted file mode 100644 index a8084594fa30..000000000000 --- a/system/oss/rc.oss +++ /dev/null @@ -1,39 +0,0 @@ -#!/bin/sh -# Start/stop/restart OSS: - -# Credit to Tsomi, on the 4Front Technologies forum: -# http://www.opensound.com/board2006/viewtopic.php?p=8174 - -oss_start() { - echo "Starting OSS..." - if [ -x /usr/sbin/soundon ]; then - /usr/sbin/soundon - else - echo "No /usr/sbin/soundon script found." - exit 1 - fi -} - -oss_stop() { - echo "Stopping OSS..." - /usr/sbin/soundoff -} - -# See how we were called. -case "$1" in - start) - oss_start - ;; - stop) - oss_stop - ;; - restart) - oss_stop - sleep 1 - oss_start - ;; - *) - echo "Usage: $0 {start|stop|restart}" - ;; -esac - |