mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-23 23:31:00 +02:00
pentoo-livecd: fix bdh again
This commit is contained in:
parent
8b86153010
commit
adafd84849
2 changed files with 8 additions and 3 deletions
|
|
@ -38,8 +38,13 @@ start() {
|
|||
|
||||
modprobe nvidia || NVIDIA_FAILURE=yes
|
||||
if [ "${NVIDIA_FAILURE}" = "yes" ]; then
|
||||
eerror "Nvidia binary driver failed to load, something went wrong. Falling back to open source nouveau driver..."
|
||||
switch_to_nouveau
|
||||
eerror "Nvidia binary driver failed to load, something went wrong."
|
||||
if $(lspci -d8086: | grep -q VGA); then
|
||||
eerror "Intel detected, crossing fingers and continuing without a working nvidia driver"
|
||||
else
|
||||
eerror "Falling back to open source nouveau driver..."
|
||||
switch_to_nouveau
|
||||
fi
|
||||
else
|
||||
einfo "Enabling evil binary nvidia driver..."
|
||||
#blacklist the open drivers
|
||||
|
|
@ -39,7 +39,7 @@ src_install() {
|
|||
newsbin "${FILESDIR}"/makemo-2018.0-r1 makemo
|
||||
newsbin "${FILESDIR}"/livecd-setpass-r1 livecd-setpass
|
||||
|
||||
newinitd "${FILESDIR}"/binary-driver-handler.initd-2018.3 binary-driver-handler
|
||||
newinitd "${FILESDIR}"/binary-driver-handler.initd-2018.3-r1 binary-driver-handler
|
||||
|
||||
exeinto /root/Desktop
|
||||
doexe "${FILESDIR}"/networkmanager.desktop
|
||||
Loading…
Reference in a new issue