From: | "Tiziano Mueller (dev-zero)" <dev-zero@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-cdr/cdemud/files: cdemud.init.d-1.1.0 |
Date: | Mon, 30 Mar 2009 16:54:55 |
Message-Id: | E1LoKlC-00078M-3U@stork.gentoo.org |
1 | dev-zero 09/03/30 16:54:54 |
2 | |
3 | Modified: cdemud.init.d-1.1.0 |
4 | Log: |
5 | Removed bashishms from init-script. |
6 | (Portage version: 2.1.6.10/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.3 app-cdr/cdemud/files/cdemud.init.d-1.1.0 |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdemud/files/cdemud.init.d-1.1.0?rev=1.3&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdemud/files/cdemud.init.d-1.1.0?rev=1.3&content-type=text/plain |
13 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-cdr/cdemud/files/cdemud.init.d-1.1.0?r1=1.2&r2=1.3 |
14 | |
15 | Index: cdemud.init.d-1.1.0 |
16 | =================================================================== |
17 | RCS file: /var/cvsroot/gentoo-x86/app-cdr/cdemud/files/cdemud.init.d-1.1.0,v |
18 | retrieving revision 1.2 |
19 | retrieving revision 1.3 |
20 | diff -u -r1.2 -r1.3 |
21 | --- cdemud.init.d-1.1.0 15 Mar 2009 21:40:22 -0000 1.2 |
22 | +++ cdemud.init.d-1.1.0 30 Mar 2009 16:54:54 -0000 1.3 |
23 | @@ -1,7 +1,7 @@ |
24 | #!/sbin/runscript |
25 | # Copyright 1999-2009 Gentoo Foundation |
26 | # Distributed under the terms of the GNU General Public License v2 |
27 | -# $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 $ |
28 | +# $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 $ |
29 | |
30 | depend() { |
31 | need dbus |
32 | @@ -13,12 +13,12 @@ |
33 | |
34 | start-stop-daemon --quiet --start \ |
35 | --exec /usr/bin/cdemud -- \ |
36 | - -d -c /dev/vhba_ctl -n ${CDEMUD_DEVICES:-1} -a ${CDEMUD_AUDIO_DRIVER:null} |
37 | + -d -c /dev/vhba_ctl -n ${CDEMUD_DEVICES} -a ${CDEMUD_AUDIO_DRIVER} |
38 | eend $? |
39 | } |
40 | |
41 | stop() { |
42 | ebegin "Stopping CDemu userspace daemon" |
43 | - /usr/bin/cdemud -k; status=$? |
44 | - eend "${status}" |
45 | + /usr/bin/cdemud -k |
46 | + eend $? |
47 | } |