Comment 3 for bug 1075975

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This is committed in r807 of trunk. The implementation is slightly different than what was suggested, but achieves the same result. if /etc/ufw/before.init and /etc/ufw/after.init exist and are executable, ufw-init will call them at appropriate times with one of the following arguments: start, stop, status, and flush-all.

In Ubuntu, before.init and after.init will be shipped with 0640 permissions and as config files, not as conffiles. This way administrators will be free to modify these files without dpkg prompts on upgrades.