Ask to shutdown the template after performing update
Fixes QubesOS/qubes-issues#2431
This commit is contained in:
parent
7fa4115aba
commit
6ba1d2ff78
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user