summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-driver/douninst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy390-driver/douninst.sh')
-rw-r--r--system/nvidia-legacy390-driver/douninst.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/system/nvidia-legacy390-driver/douninst.sh b/system/nvidia-legacy390-driver/douninst.sh
new file mode 100644
index 0000000000..d9c58a7dc2
--- /dev/null
+++ b/system/nvidia-legacy390-driver/douninst.sh
@@ -0,0 +1,14 @@
+( cd usr/libSUFFIX/xorg/modules/extensions
+ if [ -e libglx.so-xorg ]; then
+ mv libglx.so-xorg libglx.so
+ else
+ if [ ! -e libglx.so ]; then
+ echo -e "WARNING: libglx.so not found! Please reinstall xorg-server!\n"
+ fi
+ fi
+ )
+echo "The Nvidia legacy390 driver is removed. Make sure the Nvidia driver is"
+echo "DISABLED in /etc/X11/xorg.conf as well as /etc/X11/xorg.conf.d/ and"
+echo "/usr/share/X11/xorg.conf.d/. Otherwise, this may lead to improperly"
+echo -e "working drivers.\n"
+