Opened 19 years ago
Closed 19 years ago
#1953 closed task (fixed)
ALSA volume restoration script can be simplified a lot
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | 6.2.0 |
Component: | BOOK | Version: | SVN |
Severity: | normal | Keywords: | |
Cc: |
Description ¶
Now the udev_retry bootscript is in the LFS book, and thus there is no need for the ALSA udev script to wait for /usr to appear. Instead, it should fail (i.e., exit with non-zero status) if it cannot restore the volume due to missing /usr. The udev_retry bootscript will call all failed scripts again after mounting /usr. So, this simplifies volume restoration to just one line:
ACTION=="add", KERNEL=="controlC[0-9]*", RUN+="/usr/sbin/alsactl restore %n"
plus rules for naming and permissions (partially in LFS).
The same is true for ALSA firmware loading.
Change History (2)
comment:1 by , 19 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 19 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Fixed at revision 6013.