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:
teastep 2008-12-11 21:58:33 +00:00
parent 59a9a492a5
commit 7ebb79b53e

View File

@ -203,7 +203,7 @@ sub generate_script_1() {
} else { } else {
if ( $config{IP6TABLES} ) { if ( $config{IP6TABLES} ) {
emit( qq(IP6TABLES="$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 { } else {
emit( '[ -z "$IP6TABLES" ] && IP6TABLES=$(mywhich iptables) # /sbin/shorewall6 exports IP6TABLES', emit( '[ -z "$IP6TABLES" ] && IP6TABLES=$(mywhich iptables) # /sbin/shorewall6 exports IP6TABLES',