From: | "Samuli Suominen (ssuominen)" <ssuominen@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/awesfx/files: sfxload.initd sfxload.confd |
Date: | Sat, 30 May 2009 19:22:48 |
Message-Id: | E1MAU8k-00024X-71@stork.gentoo.org |
1 | ssuominen 09/05/30 19:22:46 |
2 | |
3 | Added: sfxload.initd sfxload.confd |
4 | Log: |
5 | Experimental sfxload init.d and conf.d files wrt #88159. |
6 | (Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 media-sound/awesfx/files/sfxload.initd |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.initd?rev=1.1&content-type=text/plain |
13 | |
14 | Index: sfxload.initd |
15 | =================================================================== |
16 | #!/sbin/runscript |
17 | # Copyright 1999-2009 Gentoo Foundation |
18 | # Distributed under the terms of the GNU General Public License v2 |
19 | # $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v 1.1 2009/05/30 19:22:46 ssuominen Exp $ |
20 | |
21 | depend() { |
22 | need alsasound |
23 | } |
24 | |
25 | start() { |
26 | ebegin "Loading sound font bank" |
27 | /usr/bin/sfxload -q ${sfxbank} |
28 | eend $? "Error at loading sound font bank ${sfxbank}" |
29 | } |
30 | |
31 | stop() { |
32 | ebegin "Unloading sound font bank" |
33 | /usr/bin/sfxload -i -q |
34 | eend $? "Error at unloading sound font bank" |
35 | } |
36 | |
37 | |
38 | |
39 | 1.1 media-sound/awesfx/files/sfxload.confd |
40 | |
41 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?rev=1.1&view=markup |
42 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/awesfx/files/sfxload.confd?rev=1.1&content-type=text/plain |
43 | |
44 | Index: sfxload.confd |
45 | =================================================================== |
46 | # /etc/conf.d/sfxload |
47 | |
48 | # Example location of sound bank for sfxload init script |
49 | sfxbank="/usr/share/sounds/sf2/foobar.bin" |