blob: 22996a38699b7cc6fe218a009ba62c64725bc88b (
plain) (
tree)
|
|
#!/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
|