summaryrefslogtreecommitdiff
blob: 6b57eeba6da35d87a47e060dc2b01b162662d178 (plain)
1
2
3
4
5
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