Merge remote-tracking branch 'origin/pr/282'

Fixes QubesOS/qubes-issues#6291

* origin/pr/282:
  Fix comments in default qubes-firewall-user-script
This commit is contained in:
Marek Marczykowski-Górecki 2021-01-03 04:20:04 +01:00
commit 882059d494
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -37,11 +37,15 @@ EOF
cat > /rw/config/qubes-firewall-user-script <<EOF cat > /rw/config/qubes-firewall-user-script <<EOF
#!/bin/sh #!/bin/sh
# This script is called in AppVMs after every firewall update (configuration # This script is called at AppVM boot if this AppVM has the qubes-firewall
# change, starting some VM etc). This is a good place to write own custom # service enabled. It is executed after the empty chains for the Qubes firewall
# firewall rules, in addition to autogenerated ones. Remember that in most cases # are created, but before rules for attached qubes are processed and inserted.
# you'll need to insert the rules at the beginning (iptables -I) for it to be #
# effective. # It is a good place for custom rules and actions that should occur when the
# firewall service is started.
#
# Executable scripts located in /rw/config/qubes-firewall.d are executed
# immediately before this qubes-firewall-user-script.
EOF EOF
chmod 755 /rw/config/qubes-firewall-user-script chmod 755 /rw/config/qubes-firewall-user-script