This is an incremental patch against the previous patch to add one more patch to the shorewall-lite patch series. It defaults shorewall-lite to not having any logfile, which normally defaults to /var/log/messages.
Signed-off-by: Brian J. Murrell <br...@interlinx.bc.ca> --- --- /dev/null 2009-12-03 12:15:32.504195881 -0500 +++ net/shorewall-lite/patches/120-LOGFILE.patch 2009-12-05 22:45:36.000000000 -0500 @@ -0,0 +1,20 @@ +--- a/shorewall-lite 2009-12-05 22:35:20.000000000 -0500 ++++ b/shorewall-lite 2009-12-05 22:35:27.000000000 -0500 +@@ -95,7 +95,7 @@ + + if ( ps ax 2> /dev/null | grep -v grep | qt grep 'syslogd.*-C' ) ; then + LOGREAD="logread | tac" +- elif [ -f $LOGFILE ]; then ++ elif [ -r $LOGFILE ]; then + LOGREAD="tac $LOGFILE" + else + echo "LOGFILE ($LOGFILE) does not exist!" >&2 +--- a/shorewall-lite.conf 2009-12-05 22:37:43.000000000 -0500 ++++ b/shorewall-lite.conf 2009-12-05 22:37:51.000000000 -0500 +@@ -46,4 +46,6 @@ + + RESTOREFILE= + ++LOGFILE=/dev/null ++ + #LAST LINE -- DO NOT REMOVE
signature.asc
Description: This is a digitally signed message part
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel