This was originally reported as Gentoo bug #193303 (
https://bugs.gentoo.org/show_bug.cgi?id=193303 ).
Original patch by Jack Kelly <endgame.dos@gmail.com>
Signed-off-by: Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>
farewell
clear
- if [ "$distribution" = "gentoo" ]; then
- xecho "Running modules-update..."
- modules-update
- elif [ "$distribution" = "debian" ]; then
- xecho "Running update-modules..."
- update-modules
- fi
+ case "$distribution" in
+ gentoo | debian)
+ xecho "Running update-modules..."
+ update-modules
+ ;;
+ esac
if [ -x $rcalsasound ] ; then
echo Loading driver...
$rcalsasound restart