diff --git a/sbin/snail.configure b/sbin/snail.configure index 22dda81..b8bb6f2 100755 --- a/sbin/snail.configure +++ b/sbin/snail.configure @@ -103,16 +103,20 @@ case "$DISTRIB_ID" in eselect rc stop snail-xserver eselect rc restart snail-watcher + grep acpi_call /etc/conf.d/modules || echo 'modules="${modules} acpi_call' >> /etc/conf.d/modules + eselect opengl set xorg-x11 for arch in 32bit 64bit; do for chip in i915 i965 r300 r600 sw; do eselect mesa set $arch $chip classic &>/dev/null; done; done - ln -sf /usr/lib/opengl/nvidia/extensions /usr/lib/snail/ - ln -sf /usr/lib/opengl/nvidia/lib /usr/lib/snail/ - ln -sf /usr/lib/xorg/modules /usr/lib/snail/ - grep acpi_call /etc/conf.d/modules || echo 'modules="${modules} acpi_call' >> /etc/conf.d/modules + ln -sf /usr/lib/opengl/nvidia/lib/libGL.so.[0-9][0-9]* /usr/lib/snail/libGL.so.1 + ln -sf /usr/lib/xorg/modules/libfb.so /usr/lib/snail/libfb.so + ln -sf /usr/lib/xorg/modules/libwfb.so /usr/lib/snail/libwfb.so + ln -sf /usr/lib/opengl/nvidia/extensions/libglx.so.[0-9][0-9]* /usr/lib/snail/libglx.so + ln -sf /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.[0-9][0-9]* /usr/lib/snail/ + ln -sf /usr/lib/xorg/modules/drivers/nvidia_drv.so /usr/lib/snail/nvidia_drv.so ;; "debian")