1
Author: Jamie Strandboge <jamie@canonical.com>
2
Description: to improve boot speed when disabled, don't source all of
3
ufw-init-functions (which also sources in other files).
5
Index: ufw-0.31/src/ufw-init
6
===================================================================
7
--- ufw-0.31.orig/src/ufw-init 2012-03-09 17:07:11.000000000 -0600
8
+++ ufw-0.31/src/ufw-init 2012-03-17 09:37:51.000000000 -0500
13
+# Debian/Ubuntu: small boot speed improvement
14
+. "#CONFIG_PREFIX#/ufw/ufw.conf"
15
+if [ "$1" = "start" ] && [ "$2" = "quiet" ] && [ "$ENABLED" = "no" ]; then
19
if [ -s "#STATE_PREFIX#/ufw-init-functions" ]; then
20
. "#STATE_PREFIX#/ufw-init-functions"