#!/bin/bash # created by gzav 20080122 # modif 20090420 : module sonypi deprecated => suppression de l'insmod # switch between stamina and speed mode VIDEO=`/usr/bin/lspci |grep -c nVidia` if [ "$VIDEO" = 1 ]; then ln -fs /etc/X11/xorg.conf-speed /etc/X11/xorg.conf else ln -fs /etc/X11/xorg.conf-stamina /etc/X11/xorg.conf fi # Désactivation du bluetooth /opt/spicctrl -l 0