diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-02-18 11:38:29 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-02-18 11:38:29 +0000 |
commit | e063a7c5312b703b493007229e1afe0b4e7218b7 (patch) | |
tree | b2888642eda154cbfeb740c298ed0f09338808c6 /media-sound | |
parent | keyworded ~ppc (bug #163537) (diff) | |
download | gentoo-2-e063a7c5312b703b493007229e1afe0b4e7218b7.tar.gz gentoo-2-e063a7c5312b703b493007229e1afe0b4e7218b7.tar.bz2 gentoo-2-e063a7c5312b703b493007229e1afe0b4e7218b7.zip |
Fix init script thanks to Jakub Moc in bug #167436.
(Portage version: 2.1.2-r9)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/alsa-utils/ChangeLog | 6 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/alsasound-init-20070218 | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/media-sound/alsa-utils/ChangeLog b/media-sound/alsa-utils/ChangeLog index 57aa8c3a5c83..4c0bc7deb261 100644 --- a/media-sound/alsa-utils/ChangeLog +++ b/media-sound/alsa-utils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-sound/alsa-utils # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.194 2007/02/18 02:20:41 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/ChangeLog,v 1.195 2007/02/18 11:38:29 flameeyes Exp $ + + 18 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> + files/alsasound-init-20070218: + Fix init script thanks to Jakub Moc in bug #167436. 18 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> alsa-utils-1.0.14_rc2-r1.ebuild: diff --git a/media-sound/alsa-utils/files/alsasound-init-20070218 b/media-sound/alsa-utils/files/alsasound-init-20070218 index 9be55cb1c556..4e858affe6a1 100644 --- a/media-sound/alsa-utils/files/alsasound-init-20070218 +++ b/media-sound/alsa-utils/files/alsasound-init-20070218 @@ -1,5 +1,5 @@ #!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-init-20070218,v 1.1 2007/02/18 02:00:16 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-init-20070218,v 1.2 2007/02/18 11:38:29 flameeyes Exp $ # # Gentoo users: add this script to 'boot' run level. # ================================================== @@ -188,7 +188,8 @@ restore() { push_opts=$(shopt -p nullglob); shopt -s nullglob for ossfile in "${alsastatedir}"/oss/card?_pcm??; do # We use cat because I'm not sure if cp works properly on /proc - cat "${ossfile}" > /proc/asound/${ossfile/_/\/}/oss + local procfile=${ossfile##${alsastatedir}/oss} + cat "${ossfile}" > /proc/asound/${procfile/_/\/}/oss done eval $push_opts |