mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-09 15:41:19 +02:00
Tighten up dependency handling
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6749 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
@ -96,22 +96,21 @@ sub generate_script_1() {
|
||||
'VARDIR=/var/lib/shorewall-lite',
|
||||
'PRODUCT="Shorewall Lite"'
|
||||
);
|
||||
|
||||
copy "$globals{SHAREDIR}/lib.base";
|
||||
|
||||
emitj ( '################################################################################',
|
||||
'# End of /usr/share/shorewall/lib.base',
|
||||
'################################################################################'
|
||||
);
|
||||
} else {
|
||||
emitj ( 'SHAREDIR=/usr/share/shorewall',
|
||||
'CONFDIR=/etc/shorewall',
|
||||
'VARDIR=/var/lib/shorewall',
|
||||
'PRODUCT=\'Shorewall\'',
|
||||
'. /usr/share/shorewall/lib.base'
|
||||
);
|
||||
}
|
||||
|
||||
copy "$globals{SHAREDIRPL}/lib.base";
|
||||
|
||||
emitj ( '################################################################################',
|
||||
'# End of /usr/share/shorewall-perl/lib.base',
|
||||
'################################################################################'
|
||||
);
|
||||
|
||||
emit "TEMPFILE=\n";
|
||||
|
||||
for my $exit qw/init start tcclear started stop stopped clear/ {
|
||||
|
Reference in New Issue
Block a user