1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/bin/ash . /opt/openslx/config # Disable TTY switch if [ "$SLX_TTY_SWITCH" = "no" ]; then mkdir -p /etc/X11/xorg.conf.d cat > /etc/X11/xorg.conf.d/50-no-tty.conf <<EOF Section "ServerFlags" Option "DontVTSwitch" "true" EndSection EOF fi exit 0