remove nouveau modules if not enabled

This commit is contained in:
Tobias Powalowski 2009-12-07 11:30:51 +01:00
parent c73f1a48dc
commit 83c2b82f27

View file

@ -16,6 +16,8 @@ run_hook ()
fbmodule="nouveau" fbmodule="nouveau"
else else
echo "blacklist nouveau" >> /etc/modprobe.d/framebuffer_blacklist.conf echo "blacklist nouveau" >> /etc/modprobe.d/framebuffer_blacklist.conf
rm /lib/modules/$(uname -r)/updates/*
depmod -a
fi fi
if [ "$ati_kms" = "y" ]; then if [ "$ati_kms" = "y" ]; then
msg ":: Switching to ati kms mode ..." msg ":: Switching to ati kms mode ..."