mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 19:14:35 +08:00
6 lines
131 B
Bash
6 lines
131 B
Bash
#!/bin/sh
|
|
if [ -z "$XDG_VTNR" ]; then
|
|
exec /usr/bin/X -nolisten tcp "$@"
|
|
else
|
|
exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
|
|
fi |