mrrl-logincaps

MRRL version of logincaps
git clone https://ccx.te2000.cz/git/mrrl-logincaps
Log | Files | Refs

commit 4bf58ecfb4e86a545432f40ee5ecf420eba8d2b4
parent 266e0a49911feaeac12dba334a791717e845f485
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Thu, 31 Dec 2020 06:34:49 +0100

Timeout after 8 seconds if X server doesn't come up.
Diffstat:
Msbin/logincaps | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/logincaps b/sbin/logincaps @@ -40,7 +40,7 @@ run_x() { [[ $X == $1 ]] || return 2 shift truncate -s 0 /run/Xauthority.$X && - s6-svc -wU -o /run/service/X$X && + s6-svc -wU -T 8000 -o /run/service/X$X && chmod 640 /run/Xauthority.$X && chown root:$USER /run/Xauthority.$X && cat /run/service/X$X/data/Xauthority > /run/Xauthority.$X