On Sun, 2007-15-04 at 11:36 -0700, Tom Eastep wrote: > > No (both to your patch
Sorry, didn't mean to imply that I was proposing that particular patch. that was just to demonstrate what I could do to get it to work. > and to a per-lite VARDIR). OK. > I think that the > OpenVPN OpenWRT? > /sbin/shorewall-lite should ensure that /var/lib/shorewall-lite > points to the correct directory (wherever you set LITEDIR). Interestingly it had occurred to me to make /var/lib/shorewall-lite point to /etc/shorewall-lite (my $LITEDIR on my OpenWRT box), although I had thought of doing that in the shorewall initscript. But as to your suggestion, a couple of questions... Is $VARDIR always /var/lib/shorewall-lite? > That's a > simple patch to one component (shorewall-lite) in the OpenWRT package. > > if [ ! -d $VARDIR ]; then > [ -d /var/lib ] || mkdir /var/lib > ln -s $LITEDIR $VARDIR > fi And do you think this solution is specific to OpenWRT? Does it not go hand-in-hand with the configurable $LITEDIR? Is this a patch you would like to see isolated to OpenWRT or do you think it should go into shorewall-lite proper? Does: --- /usr/src/shorewall-lite-3.2.6/shorewall-lite 2006-11-14 23:09:13.000000000 -0500 +++ /usr/src/shorewall-lite-3.2.6/shorewall-lite.openwrt 2007-04-15 15:02:24.000000000 -0400 @@ -1254,6 +1254,11 @@ get_config +if [ ! -d $VARDIR ]; then + mkdir -p $(dirname $VARDIR) + ln -s $LITEDIR $vardir +fi + FIREWALL=$LITEDIR/firewall if [ -f $VERSION_FILE ]; then Look about right then? b. -- My other computer is your Microsoft Windows server. Brian J. Murrell
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Shorewall-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/shorewall-users
