mirror of
https://github.com/tasket/Qubes-VM-hardening.git
synced 2025-03-18 05:06:06 -04:00
fix comment
This commit is contained in:
parent
066ec6e67d
commit
b92423e096
@ -19,11 +19,13 @@ else
|
||||
fi
|
||||
|
||||
# Experimental: Remove /rw root startup files and copy defaults.
|
||||
# Activated by presence of /etc/defaults/vms/vms.all dir.
|
||||
# Activated by presence of vm-sudo-protect-root Qubes service.
|
||||
# Contents of vms/vms.all and vms/hostname will be copied.
|
||||
defdir="/etc/default/vms"
|
||||
rootdirs="$rw/config $rw/usrlocal $rw/bind-dirs"
|
||||
if [ -e /var/run/qubes-service/vm-sudo-protect-root ] && [ `qubesdb-read /qubes-vm-persistence` = "rw-only" ]; then
|
||||
|
||||
if [ -e /var/run/qubes-service/vm-sudo-protect-root ] \
|
||||
&& [ `qubesdb-read /qubes-vm-persistence` = "rw-only" ]; then
|
||||
rm -rf $rootdirs
|
||||
# make user scripts temporarily mutable, in case 'rw/home/user'
|
||||
# files exist in defdir...
|
||||
|
Loading…
x
Reference in New Issue
Block a user