mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-18 12:20:42 +01:00
parent
11f970d1c2
commit
508f33a183
@ -89,7 +89,12 @@ sub generate_script_1( $ ) {
|
|||||||
|
|
||||||
emit "#!$config{SHOREWALL_SHELL}\n#\n# Compiled firewall script generated by Shorewall $globals{VERSION} - $date\n#";
|
emit "#!$config{SHOREWALL_SHELL}\n#\n# Compiled firewall script generated by Shorewall $globals{VERSION} - $date\n#";
|
||||||
|
|
||||||
copy $globals{SHAREDIRPL} . 'prog.header';
|
if ( $family == F_IPV4 ) {
|
||||||
|
copy $globals{SHAREDIRPL} . 'prog.header';
|
||||||
|
} else {
|
||||||
|
copy $globals{SHAREDIRPL} . 'prog.header6';
|
||||||
|
}
|
||||||
|
|
||||||
copy2 $globals{SHAREDIRPL} . '/lib.core', 0;
|
copy2 $globals{SHAREDIRPL} . '/lib.core', 0;
|
||||||
copy2 $globals{SHAREDIRPL} . '/lib.common', 0;
|
copy2 $globals{SHAREDIRPL} . '/lib.common', 0;
|
||||||
}
|
}
|
||||||
|
26
Shorewall/Perl/prog.header6
Normal file
26
Shorewall/Perl/prog.header6
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
# This program is under GPL [http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt]
|
||||||
|
#
|
||||||
|
# (c) 1999-2012 - Tom Eastep (teastep@shorewall.net)
|
||||||
|
#
|
||||||
|
# Options are:
|
||||||
|
#
|
||||||
|
# -n Don't alter Routing
|
||||||
|
# -v and -q Standard Shorewall Verbosity control
|
||||||
|
# -t Timestamp progress messages
|
||||||
|
# -p Purge conntrack table
|
||||||
|
# -r Recover from failed start/restart
|
||||||
|
# -V <verbosity> Set verbosity level explicitly
|
||||||
|
# -R <restore> Overrides RESTOREFILE setting
|
||||||
|
#
|
||||||
|
# Commands are:
|
||||||
|
#
|
||||||
|
# start Starts the firewall
|
||||||
|
# refresh Refresh 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
|
||||||
|
#
|
Loading…
Reference in New Issue
Block a user