also exit from bind-directories if file /var/run/qubes-service/qubes-dvm exists
Thanks to @marmarek for the suggestion! https://github.com/QubesOS/qubes-issues/issues/1328#issuecomment-169483029
This commit is contained in:
parent
7e8649f8c7
commit
184f49dbbd
@ -31,6 +31,13 @@ prerequisite() {
|
|||||||
true "No TemplateBasedVM detected. Exiting."
|
true "No TemplateBasedVM detected. Exiting."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
if [ -f "/var/run/qubes-service/qubes-dvm" ]; then
|
||||||
|
# https://github.com/QubesOS/qubes-issues/issues/1328#issuecomment-169483029
|
||||||
|
# Do none of the following in a DispVM.
|
||||||
|
# During DispVM savefile generation, 'qubesdb-read /qubes-vm-persistence'
|
||||||
|
# outputs 'rw'.
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
|
Loading…
Reference in New Issue
Block a user