summaryrefslogtreecommitdiff
path: root/community-testing/oss/rc-script
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/oss/rc-script')
-rw-r--r--community-testing/oss/rc-script30
1 files changed, 0 insertions, 30 deletions
diff --git a/community-testing/oss/rc-script b/community-testing/oss/rc-script
deleted file mode 100644
index 5c930107c..000000000
--- a/community-testing/oss/rc-script
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/bin/bash
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- stat_busy 'Starting Open Sound System'
- if /usr/sbin/soundon; then
- add_daemon oss
- stat_done
- else
- stat_fail
- fi
- ;;
- stop)
- stat_busy 'Stopping Open Sound System'
- if /usr/sbin/soundoff; then
- rm_daemon oss
- stat_done
- else
- stat_fail
- fi
- ;;
- restart)
- $0 stop
- $0 start
- ;;
- *)
- echo "Usage: $0 {start|stop|restart}"
-esac