@ -30,7 +30,6 @@ setup_graphics_card() {
elif [[ $(cat /tmp/.driver) == "video-nouveau" ]]; then
sed -i 's/MODULES=""/MODULES="nouveau"/' ${MOUNTPOINT}/etc/mkinitcpio.conf
fi
check_for_error "$FUNCNAME $(cat /tmp/.driver)" "$?"
else
DIALOG " $_ErrTitle " --msgbox "\n\n$_WarnInstGr\n" 0 0
check_for_error "No video-driver selected."
@ -212,8 +212,10 @@ install_drivers_menu() {
case $(cat ${ANSWER}) in
"1") arch_chroot "mhwd -a pci free 0300"
check_for_error "$_InstFree" $?
;;
"2") arch_chroot "mhwd -a pci nonfree 0300"
check_for_error "$_InstProp" $?
"3") setup_graphics_card