mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-02 20:44:11 +01:00
60 lines
1.9 KiB
Plaintext
60 lines
1.9 KiB
Plaintext
|
#!/bin/sh
|
||
|
RCDLINKS="2,S41 3,S41 6,K41"
|
||
|
#
|
||
|
# Generated by the Shoreline Firewall (Shorewall) Packet Filtering Firewall - V3.2
|
||
|
#
|
||
|
# This program is under GPL [http://www.gnu.org/copyleft/gpl.htm]
|
||
|
#
|
||
|
# (c) 2006 - Tom Eastep (teastep@shorewall.net)
|
||
|
#
|
||
|
# On most distributions, this file should be called /etc/init.d/firewall.
|
||
|
#
|
||
|
# Complete documentation is available at http://shorewall.net
|
||
|
#
|
||
|
# This program is free software; you can redistribute it and/or modify
|
||
|
# it under the terms of Version 2 of the GNU General Public License
|
||
|
# as published by the Free Software Foundation.
|
||
|
#
|
||
|
# This program is distributed in the hope that it will be useful,
|
||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
# GNU General Public License for more details.
|
||
|
#
|
||
|
# You should have received a copy of the GNU General Public License
|
||
|
# along with this program; if not, write to the Free Software
|
||
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA
|
||
|
#
|
||
|
# If an error occurs while starting or restarting the firewall, the
|
||
|
# firewall is automatically restored if there is a current
|
||
|
# restore file (created by "shorewall save"). If there is no restore
|
||
|
# file, the firewall is stopped.
|
||
|
#
|
||
|
# Options are:
|
||
|
#
|
||
|
# -n Don't alter Routing
|
||
|
# -v and -q Standard Shorewall Verbosity control
|
||
|
#
|
||
|
# Commands are:
|
||
|
#
|
||
|
# start Starts the firewall
|
||
|
# restart Restarts the firewall
|
||
|
# reload Reload the firewall
|
||
|
# clear Removes all firewall rules
|
||
|
# stop Stops the firewall
|
||
|
# status Displays firewall status
|
||
|
# version Displays the version of Shorewall that
|
||
|
# generated this program
|
||
|
#
|
||
|
|
||
|
# chkconfig: 2345 25 90
|
||
|
# description: Packet filtering firewall
|
||
|
|
||
|
### BEGIN INIT INFO
|
||
|
# Provides: firewall
|
||
|
# Required-Start: $network
|
||
|
# Required-Stop:
|
||
|
# Default-Start: 2 3 5
|
||
|
# Default-Stop: 0 1 6
|
||
|
# Description: starts and stops the shorewall-generated firewall
|
||
|
### END INIT INFO
|