Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/pr/204'
Browse files Browse the repository at this point in the history
* origin/pr/204:
  qubes-sysinit: set GUI_OPTS in gui-agent-linux
  • Loading branch information
marmarek committed Feb 26, 2020
2 parents 5239e1f + 9d7a3f2 commit 6738926
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions vm-systemd/qubes-sysinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,4 @@ done
# Prepare environment for other services
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)
if [ -n "$debug_mode" ] && [ "$debug_mode" -gt 0 ]; then
gui_opts="$gui_opts -vv"
fi

echo "GUI_OPTS=$gui_opts" >> /var/run/qubes-service-environment

exit 0

0 comments on commit 6738926

Please sign in to comment.