diff options
Diffstat (limited to 'x11-apps/xinit/files/xserverrc.1')
-rw-r--r-- | x11-apps/xinit/files/xserverrc.1 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/x11-apps/xinit/files/xserverrc.1 b/x11-apps/xinit/files/xserverrc.1 new file mode 100644 index 000000000000..6b57eeba6da3 --- /dev/null +++ b/x11-apps/xinit/files/xserverrc.1 @@ -0,0 +1,6 @@ +#!/bin/sh +if [ -z "$XDG_VTNR" ]; then + exec /usr/bin/X -nolisten tcp "$@" +else + exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR +fi |