remove no longer needed Whonix related specifics

This commit is contained in:
Patrick Schleizer 2019-07-14 06:52:16 +00:00 committed by GitHub
parent c989b8bd4a
commit b2ecc9cf4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,15 +34,6 @@ _EOF
mv -f /etc/polkit-1/localauthority/50-local.d/qubes-allow-all.pkla \
/etc/polkit-1/localauthority_50-locald_qubes-allow-all.pkla.bak
if [ -e /etc/whonix.d ]; then
cat >/etc/sudoers.d/zz99_sudoprompt <<_EOF
ALL ALL=NOPASSWD: /usr/sbin/virt-what
ALL ALL=NOPASSWD: /usr/sbin/service whonixcheck restart
ALL ALL=NOPASSWD: /usr/sbin/service whonixcheck start
ALL ALL=NOPASSWD: /usr/sbin/service whonixcheck stop
ALL ALL=NOPASSWD: /usr/sbin/service whonixcheck status
_EOF
fi
echo "Done."
echo '