From 6ba1d2ff7815603e0fd7c9e10e76f6e5d6760bb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 12 Nov 2016 22:27:20 +0100 Subject: [PATCH] Ask to shutdown the template after performing update Fixes QubesOS/qubes-issues#2431 --- qubes-rpc/qubes.InstallUpdatesGUI | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/qubes.InstallUpdatesGUI b/qubes-rpc/qubes.InstallUpdatesGUI index edea22e..8f2cef7 100755 --- a/qubes-rpc/qubes.InstallUpdatesGUI +++ b/qubes-rpc/qubes.InstallUpdatesGUI @@ -15,7 +15,7 @@ elif [ -e /etc/arch-release ]; then else update_cmd='echo Unsupported distribution, install updates manually; bash -i' fi -xterm -title update -e su -l -c "$update_cmd; echo Done. Press Enter to exit.; read x" +xterm -title update -e su -l -c "$update_cmd; echo Done.; echo Press Enter to shutdown the template, or Ctrl-C to just close this window; read x && poweroff;" # Notify dom0 about installed updates su -c 'service qubes-update-check start'