3 echo "For these drivers to work, you must install kernel modules."
4 echo "Depending on your kernel, these module packages are named"
5 echo "catalyst-\$kernel and stock kernel module is catalyst"
6 echo "--------------------------------------------------------------"
7 echo "You can use the tool 'aticonfig' to generate an xorg.conf file."
8 echo "Remember to add fglrx to the MODULES list in /etc/rc.conf."
9 echo "--------------------------------------------------------------"
11 rm -f usr/lib/xorg/modules/extensions/libdri.so
12 ln -sf libdri.ati usr/lib/xorg/modules/extensions/libdri.so
16 rm -f usr/lib/xorg/modules/extensions/libdri.so
17 ln -sf libdri.ati usr/lib/xorg/modules/extensions/libdri.so
21 # If the symlink is dead, remove it
22 if [ ! -e usr/lib/xorg/modules/extensions/libdri.so ]; then
23 rm -f usr/lib/xorg/modules/extensions/libdri.so
24 ln -sf libdri.xorg usr/lib/xorg/modules/extensions/libdri.so