mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove nouveau modules if not enabled
This commit is contained in:
parent
c73f1a48dc
commit
83c2b82f27
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ run_hook ()
|
|||
fbmodule="nouveau"
|
||||
else
|
||||
echo "blacklist nouveau" >> /etc/modprobe.d/framebuffer_blacklist.conf
|
||||
rm /lib/modules/$(uname -r)/updates/*
|
||||
depmod -a
|
||||
fi
|
||||
if [ "$ati_kms" = "y" ]; then
|
||||
msg ":: Switching to ati kms mode ..."
|
||||
|
|
Loading…
Reference in a new issue