qubes.WaitForSession 125 B

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