summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorVarac <varacanero@zeromail.org>2009-12-10 12:51:22 +0100
committerVarac <varacanero@zeromail.org>2009-12-10 12:51:22 +0100
commit1951c8a7d72f677fff9fbdf955bf883f4d9a4f61 (patch)
tree1b48f443acb829e700f39b70800332a7158daf62 /templates
parente7a5ffbb316cd2277589f0c649be46fa3a93b160 (diff)
added $shorewall_startup variable to disable startup, enabled by default
Diffstat (limited to 'templates')
-rw-r--r--templates/debian_default.erb30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/debian_default.erb b/templates/debian_default.erb
new file mode 100644
index 0000000..1a76fd6
--- /dev/null
+++ b/templates/debian_default.erb
@@ -0,0 +1,30 @@
+# prevent startup with default configuration
+# set the following varible to 1 in order to allow Shorewall to start
+
+# This file is brought to you by puppet
+
+<% if (shorewall_startup == "0" ) -%>
+startup=0
+<% else -%>
+startup=1
+<% end -%>
+
+# if your Shorewall configuration requires detection of the ip address of a ppp
+# interface, you must list such interfaces in "wait_interface" to get Shorewall to
+# wait until the interface is configured. Otherwise the script will fail because
+# it won't be able to detect the IP address.
+#
+# Example:
+# wait_interface="ppp0"
+# or
+# wait_interface="ppp0 ppp1"
+# or, if you have defined in /etc/shorewall/params
+# wait_interface=
+
+#
+# Startup options
+#
+
+OPTIONS=""
+
+# EOF