commit 3df8c0462f405c249a4121b5aaba1ac51e99d39e parent 5f3921f7d4f134de4b4cb47b26a6fe444b452261 Author: ccx <ccx@te2000.cz> Date: Tue, 19 Mar 2024 13:49:19 +0000 Return X support back to logincaps Diffstat:
M | sbin/logincaps | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/sbin/logincaps b/sbin/logincaps @@ -115,4 +115,10 @@ main() { done } +if [[ $LOGIN_TTY == /dev/tty[1-4] ]]; then + typeset -g X + X=$[ ${LOGIN_TTY#/dev/tty} + 4 ] +fi + main +# vim: ft=zsh noet ts=4 sts=4 sw=4