mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 01:53:27 +01:00
Allow shorewall6-lite start to work
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8996 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
59a9a492a5
commit
7ebb79b53e
@ -203,7 +203,7 @@ sub generate_script_1() {
|
||||
} else {
|
||||
if ( $config{IP6TABLES} ) {
|
||||
emit( qq(IP6TABLES="$config{IP6TABLES}"),
|
||||
'[ -x "$I6PTABLES" ] || startup_error "IP6TABLES=$IP6TABLES does not exist or is not executable"',
|
||||
'[ -x "$IP6TABLES" ] || startup_error "IP6TABLES=$IP6TABLES does not exist or is not executable"',
|
||||
);
|
||||
} else {
|
||||
emit( '[ -z "$IP6TABLES" ] && IP6TABLES=$(mywhich iptables) # /sbin/shorewall6 exports IP6TABLES',
|
||||
|
Loading…
Reference in New Issue
Block a user