Re: Who is to write /etc/modprobe.conf?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Farris (fedora@xxxxxxxxxxxxxxxx) said: 
> alias snd-card-0 snd_emu10k1

Fine...

> alias sound-service-0-0 snd-mixer-oss
> alias sound-service-0-1 snd-seq-oss
> alias sound-service-0-3 snd-pcm-oss
> alias sound-service-0-8 snd-seq-oss
> alias sound-service-0-12 snd-pcm-oss

Overkill; this is in modprobe.conf.dist.

> install snd-card-0 /sbin/modprobe --ignore-install snd-card-0 && \
> { /sbin/modprobe snd_emu10k1 && /usr/sbin/alsactl restore 0 > /dev/null\
> 2>&1 || :; }

You don't need to explicitly load snd_emu10k1 here.

> remove snd-card-0 { /usr/sbin/alsactl store 0 > /dev/null 2>&1\
> || :; }; /sbin/modprobe -r snd_emu10k1 && /sbin/modprobe -r\
> --ignore-remove snd-card-0

Simliarly, the extra remove here is superfluous.

Bill



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux