diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-04-28 19:01:05 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-04-28 19:01:05 +0000 |
commit | d374b66bd16f4ab6611d541d19b070e361a1f55b (patch) | |
tree | aba68af65590534c3e334d6b93e71e5c97bb870f /media-sound/awesfx/files | |
parent | Version bump. (diff) | |
download | gentoo-2-d374b66bd16f4ab6611d541d19b070e361a1f55b.tar.gz gentoo-2-d374b66bd16f4ab6611d541d19b070e361a1f55b.tar.bz2 gentoo-2-d374b66bd16f4ab6611d541d19b070e361a1f55b.zip |
Use asfxload instead of sfxload by default in init files wrt #290458 by Lukasz Pawelczyk.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/awesfx/files')
-rw-r--r-- | media-sound/awesfx/files/sfxload.confd | 3 | ||||
-rw-r--r-- | media-sound/awesfx/files/sfxload.initd | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/media-sound/awesfx/files/sfxload.confd b/media-sound/awesfx/files/sfxload.confd index 2ab604f80ac7..e44815a7c71b 100644 --- a/media-sound/awesfx/files/sfxload.confd +++ b/media-sound/awesfx/files/sfxload.confd @@ -1,4 +1,7 @@ # /etc/conf.d/sfxload +# sfxload or asfxload +sfxload="asfxload" + # Example location of sound bank for sfxload init script sfxbank="/usr/share/sounds/sf2/foobar.bin" diff --git a/media-sound/awesfx/files/sfxload.initd b/media-sound/awesfx/files/sfxload.initd index 6c71ce40807a..39f6b8facf36 100644 --- a/media-sound/awesfx/files/sfxload.initd +++ b/media-sound/awesfx/files/sfxload.initd @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v 1.1 2009/05/30 19:22:46 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/awesfx/files/sfxload.initd,v 1.2 2010/04/28 19:01:05 ssuominen Exp $ depend() { need alsasound @@ -9,12 +9,12 @@ depend() { start() { ebegin "Loading sound font bank" - /usr/bin/sfxload -q ${sfxbank} + ${sfxload} -q "${sfxbank}" eend $? "Error at loading sound font bank ${sfxbank}" } stop() { ebegin "Unloading sound font bank" - /usr/bin/sfxload -i -q + ${sfxload} -i -q eend $? "Error at unloading sound font bank" } |