Announce if qubes-firewall service is supported+enabled in this template

Fixes QubesOS/qubes-issues#2003
This commit is contained in:
Marek Marczykowski-Górecki 2017-07-16 11:09:14 +02:00
parent 83aa6a375f
commit 45f06a7863
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -7,3 +7,9 @@ qvm-features-request qrexec=1
if [ -x /usr/bin/qubes-gui ]; then
qvm-features-request gui=1
fi
if systemctl -q is-enabled qubes-firewall.service 2>/dev/null; then
qvm-features-request qubes-firewall=1
else
qvm-features-request qubes-firewall=0
fi