core-agent-linux/qubes-rpc/qubes.WaitForSession
2019-11-02 23:11:32 +01:00

9 lines
151 B
Bash
Executable File

#!/bin/sh
USERNAME="$(qubesdb-read /default-user || echo 'user')"
while ! [ -e "/var/run/qubes/qrexec-server.$USERNAME.sock" ]
do
sleep 0.1
done