diff options
Diffstat (limited to 'app-cdr/cdemud/files/cdemud.init.d-1.1.0')
-rw-r--r-- | app-cdr/cdemud/files/cdemud.init.d-1.1.0 | 8 |
1 files changed, 4 insertions, 4 deletions
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 $? } |