# hook for intel graphics card # Copyright Rubén Gómez Antolí cat << EOF > $DESTDIR/sbin/disable_dpms #!/bin/sh sleep 2 waitforX # disable dpms sleep 2 xset -dpms EOF chmod +x $DESTDIR/sbin/disable_dpms cat << EOF > $DESTDIR/etc/X11/PreRun/30intel_dpms #!/bin/sh test1=0 test1=\$(get_vga_vendor 8086) if [ "\$test1" = "1" ]; then /sbin/disable_dpms & fi EOF chmod +x $DESTDIR/etc/X11/PreRun/30intel_dpms