Hi Erkki, Tom, >> shorewall try <a-dir-here> command doesn't work. >> >> # /sbin/shorewall.orig try /etc/shorewall/ >> /sbin/shorewall.orig: export: 2158: Illegal option -n >> >> >> I peeked into the /sbin/shorewall and removed option -n. >> /sbin/shorewall >> try /etc/shorewall command has since worked for me. Here is diff >> >> --- /sbin/shorewall.orig Sun Nov 19 16:05:27 2006 >> +++ /sbin/shorewall Tue Nov 21 00:21:06 2006 >> @@ -1884,7 +1884,7 @@ >> [ $# -lt 2 -o $# -gt 3 ] && usage 1 >> VERBOSE=$(make_verbose) >> [ -n "$NOROUTES" ] && NOROUTES=-n >> - export -n CONFIG_PATH >> + export CONFIG_PATH >> if ! $0 $debugging $VERBOSE -c $2 restart; then if ! $IPTABLES -L >> shorewall > /dev/null 2> /dev/null; then $0 $VERBOSE $NOROUTES start >> >> > That patch may get rid of the error message but it is wrong. The "-n" > option to 'export' removes the export property from the listed symbol(s). > > A better hack would be to replace that line with: > > CONFIG_PATH > I have implemented this workaround for the shorewall 3.2 series, thanks.
> -Tom > -- > Tom Eastep \ Nothing is foolproof to a sufficiently talented fool > Shoreline, \ http://shorewall.net > Washington USA \ [EMAIL PROTECTED] > PGP Public Key \ https://lists.shorewall.net/teastep.pgp.key > Eric ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ------------------------------------------------------------------------ leaf-user mailing list: [email protected] https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
