During shutdown, the alsasound initscript checks what the current kernel version is, as follows: /sbin/rmmod --version | grep -q module-init-tools \ && ver="26" || ver="24" This works fine in general, but does not when using busybox to provide the rmmod command. I would say that using the above to detect the difference between 2.6 and 2.4 is not very portable, and using something like uname -r should work better. However, I suspect that in reality, the script doesn't really check what kernel version is running, but if it uses the new module-init-tools module unloading style? Ie, in order to also allow 2.5 kernels to be used correctly? In any case, my problem is that busybox rmmod does not support the --version option and thus throws an error on my console at shutdown. Can somebody perhaps enlighten me as to what the check is actually supposed to check?
(In reply to comment #0) > using something like uname -r should work better. Should be just removed altogether w/ 2.4 kernels being unsupported on Gentoo.
Marking this one as a duplicate since the other has a patch... ;] *** This bug has been marked as a duplicate of bug 207371 ***