summaryrefslogtreecommitdiffstats
path: root/abs/extra/oss/rc-script
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-17 00:06:33 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:05 (GMT)
commit5595bd9f091248a9cc8dcca60776cd7c919d10ef (patch)
tree5858439728667a81b072b7e14f1d30d30b8f9c44 /abs/extra/oss/rc-script
parent34aea02a41d9c352742211190131dbd72bb1d04c (diff)
downloadlinhes_pkgbuild-5595bd9f091248a9cc8dcca60776cd7c919d10ef.zip
linhes_pkgbuild-5595bd9f091248a9cc8dcca60776cd7c919d10ef.tar.gz
linhes_pkgbuild-5595bd9f091248a9cc8dcca60776cd7c919d10ef.tar.bz2
oss: 4.2_2008
update binary path to /usr/bin refs #961
Diffstat (limited to 'abs/extra/oss/rc-script')
-rw-r--r--abs/extra/oss/rc-script30
1 files changed, 0 insertions, 30 deletions
diff --git a/abs/extra/oss/rc-script b/abs/extra/oss/rc-script
deleted file mode 100644
index 5c93010..0000000
--- a/abs/extra/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