Pass GUI domain id to GUI agent
This commit is contained in:
parent
6a088a3992
commit
5f201ddd44
@ -64,9 +64,13 @@ done
|
|||||||
# Prepare environment for other services
|
# Prepare environment for other services
|
||||||
echo > /var/run/qubes-service-environment
|
echo > /var/run/qubes-service-environment
|
||||||
|
|
||||||
|
gui_opts="-d $(qubesdb-read /qubes-gui-domain-xid || echo 0)"
|
||||||
|
|
||||||
debug_mode=$(qubesdb-read /qubes-debug-mode 2> /dev/null)
|
debug_mode=$(qubesdb-read /qubes-debug-mode 2> /dev/null)
|
||||||
if [ -n "$debug_mode" ] && [ "$debug_mode" -gt 0 ]; then
|
if [ -n "$debug_mode" ] && [ "$debug_mode" -gt 0 ]; then
|
||||||
echo "GUI_OPTS=-vv" >> /var/run/qubes-service-environment
|
gui_opts="$gui_opts -vv"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "GUI_OPTS=$gui_opts" >> /var/run/qubes-service-environment
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user