From: Silvio Rhatto Date: Sat, 25 Mar 2017 01:49:19 +0000 (-0300) Subject: Provision: desktop-basic: check for /etc/modprobe.d/qxl-no-kms.conf X-Git-Tag: 0.1.0~510 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d3e6a9790f077daf6503baf1d51ec9f8bc6d603a;p=kvmx.git Provision: desktop-basic: check for /etc/modprobe.d/qxl-no-kms.conf --- diff --git a/share/provision/desktop-basic b/share/provision/desktop-basic index d87aff0..21ee3a1 100755 --- a/share/provision/desktop-basic +++ b/share/provision/desktop-basic @@ -32,8 +32,10 @@ $DIRNAME/development $HOSTNAME $DOMAIN $MIRROR # QLX # See https://labs.riseup.net/code/issues/11518 # https://bugs.mageia.org/show_bug.cgi?id=14607 -echo 'options qxl modeset=0' | sudo tee /etc/modprobe.d/qxl-no-kms.conf -sudo update-initramfs -v -u +if [ ! -e "/etc/modprobe.d/qxl-no-kms.conf" ]; then + echo 'options qxl modeset=0' | sudo tee /etc/modprobe.d/qxl-no-kms.conf + sudo update-initramfs -v -u +fi # Ensure we are in the user home folder cd