summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2009-03-30 16:54:54 +0000
committerTiziano Müller <dev-zero@gentoo.org>2009-03-30 16:54:54 +0000
commit18b4ebef21fe98673672fef4ab445ef0db981ec6 (patch)
tree40bb5b5fe8291fe4a2654711c59ca80aa5db6e03 /app-cdr
parentarm/ia64/s390/sh/sparc/x86 stable wrt #255191 (diff)
downloadgentoo-2-18b4ebef21fe98673672fef4ab445ef0db981ec6.tar.gz
gentoo-2-18b4ebef21fe98673672fef4ab445ef0db981ec6.tar.bz2
gentoo-2-18b4ebef21fe98673672fef4ab445ef0db981ec6.zip
Removed bashishms from init-script.
(Portage version: 2.1.6.10/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/cdemud/ChangeLog6
-rw-r--r--app-cdr/cdemud/files/cdemud.init.d-1.1.08
2 files changed, 9 insertions, 5 deletions
diff --git a/app-cdr/cdemud/ChangeLog b/app-cdr/cdemud/ChangeLog
index 3f69b7475e35..6eae138c6533 100644
--- a/app-cdr/cdemud/ChangeLog
+++ b/app-cdr/cdemud/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-cdr/cdemud
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemud/ChangeLog,v 1.8 2009/03/15 21:40:22 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemud/ChangeLog,v 1.9 2009/03/30 16:54:53 dev-zero Exp $
+
+ 30 Mar 2009; Tiziano Müller <dev-zero@gentoo.org>
+ files/cdemud.init.d-1.1.0:
+ Removed bashishms from init-script.
15 Mar 2009; Tiziano Müller <dev-zero@gentoo.org>
files/cdemud.init.d-1.1.0:
diff --git a/app-cdr/cdemud/files/cdemud.init.d-1.1.0 b/app-cdr/cdemud/files/cdemud.init.d-1.1.0
index e50fa5838b4c..384fc7e42cc6 100644
--- a/app-cdr/cdemud/files/cdemud.init.d-1.1.0
+++ b/app-cdr/cdemud/files/cdemud.init.d-1.1.0
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemud/files/cdemud.init.d-1.1.0,v 1.2 2009/03/15 21:40:22 dev-zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdemud/files/cdemud.init.d-1.1.0,v 1.3 2009/03/30 16:54:54 dev-zero Exp $
depend() {
need dbus
@@ -13,12 +13,12 @@ start() {
start-stop-daemon --quiet --start \
--exec /usr/bin/cdemud -- \
- -d -c /dev/vhba_ctl -n ${CDEMUD_DEVICES:-1} -a ${CDEMUD_AUDIO_DRIVER:null}
+ -d -c /dev/vhba_ctl -n ${CDEMUD_DEVICES} -a ${CDEMUD_AUDIO_DRIVER}
eend $?
}
stop() {
ebegin "Stopping CDemu userspace daemon"
- /usr/bin/cdemud -k; status=$?
- eend "${status}"
+ /usr/bin/cdemud -k
+ eend $?
}