summaryrefslogtreecommitdiffstats
path: root/abs/extra/oss/oss.rc
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2011-08-20 22:22:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2011-08-20 22:22:40 (GMT)
commitcafd0967739599f2d7527dd8fe6af6b3fa797c69 (patch)
tree926ac1f40b9e8ef3c548c65599e8beb83a47c7a6 /abs/extra/oss/oss.rc
parent632a366625bd2f3046cf26fdf50f16b166d9ab09 (diff)
downloadlinhes_pkgbuild-cafd0967739599f2d7527dd8fe6af6b3fa797c69.zip
linhes_pkgbuild-cafd0967739599f2d7527dd8fe6af6b3fa797c69.tar.gz
linhes_pkgbuild-cafd0967739599f2d7527dd8fe6af6b3fa797c69.tar.bz2
oss: update oss to 4.2
Diffstat (limited to 'abs/extra/oss/oss.rc')
-rw-r--r--abs/extra/oss/oss.rc32
1 files changed, 0 insertions, 32 deletions
diff --git a/abs/extra/oss/oss.rc b/abs/extra/oss/oss.rc
deleted file mode 100644
index 3f63378..0000000
--- a/abs/extra/oss/oss.rc
+++ /dev/null
@@ -1,32 +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