#!/bin/sh -efu rundir="${0%/*}" cat > /etc/X11/xorg.conf.d/10-monitor.conf < /tmp/try-install </dev/null ||: xinit /usr/sbin/alterator-install2 -- vt7 -dpms -ac \ -nolisten tcp -logfile /tmp/x11.log >> /tmp/install2.log \ 2>&1 || exit \$? /usr/sbin/postinstall ||: echo s > /proc/sysrq-trigger echo u > /proc/sysrq-trigger echo b > /proc/sysrq-trigger EOF cp -Lf -- "$rundir/preinstall" /usr/lib/alterator/backend3/ chmod +x /usr/lib/alterator/backend3/preinstall /tmp/try-install export DURING_INSTALL=1 exec /tmp/try-install