https://bugzilla.novell.com/show_bug.cgi?id=219456 ------- Comment #25 from eich@novell.com 2007-01-04 09:36 MST ------- I'm against hacking kdm/xdm to address the few times where an update happened. This is even more hacky than putting it into the driver. It doesn't address the cases where no X driver is running (as mentioned in Andy's mail). Also it will always return false (unless someone manages to install an Nvidia and a FireGL card). The install procedure can test if it can unload the driver instead and reboot if this fails. How about if we create a script to replace the /var/X11R6/bin link when a driver is installed: Put the following into /var/X11R6/bin/X.install: #/bin/bash mods=`lsmod | grep -o -E "nvidia|fglrx"`; test $? -eq 0 ] && for i in ${mods}; do rmmod $i; done; test -f /var/X11R6/bin/X._install && mv /var/X11R6/bin/X._install /var/X11R6/bin/X; exec /var/X11R6/bin/X ${1+"$@"} The installation procedure can do someting like: test -f /var/X11R6/bin/X._install \ || { mv /var/X11R6/bin/X /var/X11R6/bin/X._install; \ ln -sf /var/X11R6/bin/X.install /var/X11R6/bin/X' }; -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.