diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-24 22:49:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-24 22:49:19 -0300 |
commit | d3e6a9790f077daf6503baf1d51ec9f8bc6d603a (patch) | |
tree | f05e50dfd22a1d5255f1bb0d2e27d9f9df1858e2 /share/provision/desktop-basic | |
parent | 48264a119be031a7f880cdf14d9e3729cb51a60f (diff) | |
download | kvmx-d3e6a9790f077daf6503baf1d51ec9f8bc6d603a.tar.gz kvmx-d3e6a9790f077daf6503baf1d51ec9f8bc6d603a.tar.bz2 |
Provision: desktop-basic: check for /etc/modprobe.d/qxl-no-kms.conf
Diffstat (limited to 'share/provision/desktop-basic')
-rwxr-xr-x | share/provision/desktop-basic | 6 |
1 files changed, 4 insertions, 2 deletions
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 |