Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 112786 Details for
Bug 167436
media-sound/alsa-utils-1.0.14_rc2-r1 init script has buggy handling of OSS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/etc/init.d/alsasound
alsasound.diff (text/plain), 1.21 KB, created by
Jimmy.Jazz
on 2007-03-10 11:32:15 UTC
(
hide
)
Description:
/etc/init.d/alsasound
Filename:
MIME Type:
Creator:
Jimmy.Jazz
Created:
2007-03-10 11:32:15 UTC
Size:
1.21 KB
patch
obsolete
>--- alsasound-init-20070218 2007-03-10 12:21:38.000000000 +0100 >+++ /etc/init.d/alsasound 2007-03-10 12:15:30.000000000 +0100 >@@ -1,5 +1,5 @@ > #!/sbin/runscript >-# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-init-20070218,v 1.3 2007/02/18 14:00:58 flameeyes Exp $ >+# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound-init-20070218,v 1.1 2007/02/18 02:00:16 flameeyes Exp $ > # > # Gentoo users: add this script to 'boot' run level. > # ================================================== >@@ -186,11 +186,14 @@ > done > > push_opts=$(shopt -p nullglob); shopt -s nullglob >- for ossfile in "${alsastatedir}"/oss/card?_pcm??; do >+ >+ pushd "${alsastatedir}/oss" >/dev/null >+ for ossfile in card?_pcm??; do > # We use cat because I'm not sure if cp works properly on /proc >- local procfile=${ossfile##${alsastatedir}/oss} >- cat "${ossfile}" > /proc/asound/${procfile/_/\/}/oss >+ cat "${alsastatedir}/oss/${ossfile}" > /proc/asound/${ossfile/_/\/}/oss > done >+ popd > /dev/null >+ > eval $push_opts > > eend 0 >@@ -230,12 +233,6 @@ > fi > fi > >- if [[ ! -d /proc/asound ]]; then >- eerror "ALSA failed to load." >- eend 1 >- return 1 >- fi >- > [[ ${RESTORE_ON_START} == "yes" ]] && restore > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 167436
:
110522
| 112786