Summary: | alsasound init script should change opts variable to use either extra_commands or extra_started_commands | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Robert Cabrera <robcab666> |
Component: | New packages | Assignee: | Gentoo ALSA team <alsa-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proteuss |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 381895 |
Description
Robert Cabrera
2011-09-05 08:50:03 UTC
Easily fixed with: cd /etc/init.d find -type f -name '*' -print | xargs \ perl -pi -e's/(\W|^)opts/$1extra_commands/g' (In reply to comment #1) > Easily fixed with: > > cd /etc/init.d > > find -type f -name '*' -print | xargs \ > perl -pi -e's/(\W|^)opts/$1extra_commands/g' This is a really bad fix as opts= can become either extra_commands= _or_ extra_started_commands= depending on whether the extra option can only be run when the script was started before. + 23 Oct 2011; Lars Wendler <polynomial-c@gentoo.org> files/alsasound.initd-r4: + non-maintainer commit: Replaced deprecated opts variable in init script (bug + #381893). + |