mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-09 19:11:02 +00:00
check_pkg mhwd not needed any more
This commit is contained in:
parent
c7f3a0ea41
commit
846555810b
@ -693,7 +693,6 @@ setup_graphics_card() {
|
|||||||
$(mhwd -l | awk 'FNR>4 {print $1}' | awk 'NF' |awk '$0=$0" - off"') 2> /tmp/.driver
|
$(mhwd -l | awk 'FNR>4 {print $1}' | awk 'NF' |awk '$0=$0" - off"') 2> /tmp/.driver
|
||||||
|
|
||||||
clear
|
clear
|
||||||
check_pkg mhwd
|
|
||||||
arch_chroot "mhwd -f -i pci $(cat /tmp/.driver)" 2>$ERR
|
arch_chroot "mhwd -f -i pci $(cat /tmp/.driver)" 2>$ERR
|
||||||
|
|
||||||
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
|
GRAPHIC_CARD=$(lspci | grep -i "vga" | sed 's/.*://' | sed 's/(.*//' | sed 's/^[ \t]*//')
|
||||||
|
Loading…
Reference in New Issue
Block a user