core-agent-linux/qubes-rpc/qubes.WaitForSession

3 lines
125 B
Plaintext
Raw Normal View History

read USERNAME
su -c 'echo $$ >> /tmp/qubes-session-waiter; [ ! -f /tmp/qubes-session-env ] && exec sleep 365d' - "$USERNAME"