Qubes-VM-hardening/install
2018-03-29 02:57:06 -04:00

15 lines
371 B
Bash

#!/bin/sh
[ `id -u` -eq 0 ] || exit
cp vm-boot-protect.sh /usr/lib/qubes/init
chmod +x /usr/lib/qubes/init/vm-boot-protect.sh
cp vm-boot-protect.service /lib/systemd/system
systemctl daemon-reload
systemctl enable vm-boot-protect.service
echo Disabling the pre-release service (if present)...
systemctl disable vm-sudo-protect.service
echo vm-boot-protect installed!