2017-05-31 13:36:12 +02:00
|
|
|
#!/bin/sh
|
2013-01-09 09:28:51 +01:00
|
|
|
read USERNAME
|
2015-11-03 09:43:52 +01:00
|
|
|
su -c 'echo $$ >> /tmp/qubes-session-waiter; [ ! -f /tmp/qubes-session-env ] && exec sleep inf' - "$USERNAME" 2> /dev/null
|
2017-05-31 13:36:12 +02:00
|
|
|
# the above line is _expected_ to be terminated by a signal, don't treat this as a failure
|
|
|
|
exit 0
|