From 1951c8a7d72f677fff9fbdf955bf883f4d9a4f61 Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 10 Dec 2009 12:51:22 +0100 Subject: added $shorewall_startup variable to disable startup, enabled by default --- templates/debian_default.erb | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 templates/debian_default.erb (limited to 'templates') 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 -- cgit v1.2.3